The documentation for the events can be found here: http://jqueryui.com/demos/sortable/
I'm guessing you would want to use the sort
or the change
event.
Ken Browning
2010-10-19 15:27:40
The documentation for the events can be found here: http://jqueryui.com/demos/sortable/
I'm guessing you would want to use the sort
or the change
event.
A list of events for the jquery ui sortable plugin can be found here: http://jqueryui.com/demos/sortable/#events
Use the stop
event of the sortable
plugin.
This event is triggered when sorting has stopped.
In your example
$('.sortable').sortable( { revert : true
, connectWith : ".sortable"
, stop : function(event,ui){/*do whatever here*/}
}
);