Forum Moderators: open
I have heard that an observer can be used to do this, but can not seem to find a concrete example. Scriptaculous does not offer any examples of observers on sortables either.
I am hoping there is an internal function for this in Scriptaculous. Otherwise, I am stuck comparing two serialized lists of IDs to see what has changed.
new Draggable('sortable',{revert:false});
Droppables.add('sortable', {
accept: 'class_of_sortables',
onDrop: function(element)
{doSomethingTo(element);}});