My list is structured as follows:
<div dojoType="dojo.dnd.Source" id="myList">
<div class="dojoDndItem">item 1</div>
<div class="dojoDndItem">item 2</div>
<div class="dojoDndItem">item 3</div>
</div>
The list is made sortable using the dojo attributes.
While it all works seamlessly, I am looking to add a listener for when an item is dropped. When the user releases the mouse and the element snaps into place, I want to trigger a javascript function to handle this event. Is there a way to accomplish this through markup?