Drag Drop DIV from one another
I'm trying to build a calender like gadget on my page and would like to be able to drag one div from it's container to another and get the id of the one it was dropped into. For instance, if I grab "not again" from container3 and drop into container1 I want to be able to get the destination div id? How can I do this?
<div id="holder">
<div id="container1" class="days">
<div>stuff here</div>
<div>second thing</div>
</div>
<div id="container2" class="days">
</div>
<div id="container3" class="days">
<div>more stuff</div>
<div>even more</div>
<div>not again</div>
</div>
</div>