This project is read-only.

dragEnd function

May 22, 2009 at 8:01 PM

I was curious if you had any documentation on the dragEnd function - do you know what sort of object is being passed after it is done?  Are you able to get the object type of what you dropped?  Or perhaps can you find what list the object came from?

I put this in my code:

dragEnd: function() { alert(;

and all that seemed to happen was it alerted the containing ASP panel that holds ALL the ULs.


Any thoughts?  Thanks.

Jun 25, 2009 at 9:43 PM
Edited Jun 25, 2009 at 9:45 PM

Sure, I actually got contacted by someome with this suggestion, so will look at releasing a version with this change implemented. Basically in the dropItem function make these changes:

list.draggedItem.css({ position: "", top: "", left: "", opacity: "" });
list.draggedItem = null;


list.draggedItem = null;

Now the this keyword in you dragEnd handler will refer to the listitem that is being dragged.

Jun 26, 2009 at 12:49 AM

thx for the fast reply. helped a lot!

Sep 8, 2009 at 8:51 PM


I just wanted to say thanks for the update and the reply - I was looking for an email and never got one saying it updated....glad I checked again and got the code. 

Great plugin!!