Ruby Forum Rails Spinoffs > returning dragged element when using sortables

Posted by Jeremy (Guest)
on 12.05.2008 21:55
(Received via mailing list)
I'd like to use a visual effect on only the moved (dragged) element of
a sortables list. How do I return the id of the dragged element?
Posted by Tom Gregory (Guest)
on 12.05.2008 22:01
(Received via mailing list)
See http://github.com/madrobby/scriptaculous/wikis/draggables-object

Also, take a look at the SortableObserver object in dragdrop.js, which
uses the same observer functions described in the above link.


TAG