Ok, since a couple people seem to be having problems with this, I dug into some of my code to find the exact solution... you need to register an observer object with the Draggables.addObserver() method. In this observer object, you can test the draggable params in the associated methods to make sure the draggable is the one you're looking for that specific action...
var myDraggable = new Draggable($('someElement'), dragOptions); var myDraggableObserver = { onStart: function(eventName, draggable, event) { if (draggable == myDraggable) { //take action (dragging has started) } }, onDrag: function(eventName, draggable, event) { if (draggable == myDraggable) { //take action (dragging is going on) } }, onEnd: function(eventName, draggable, event) { if (draggable == myDraggable) { //take action (dragging has stopped) } } } Draggables.addObserver(this.moveableObserver); The information transmitted in this electronic mail is intended only for the person or entity to which it is addressed and may contain confidential, proprietary, and/or privileged material. Any review, retransmission, dissemination or other use of, or taking of any action in reliance upon, this information by persons or entities other than the intended recipient is prohibited. If you received this in error, please contact the sender and delete the material from all computers. _______________________________________________ Rails-spinoffs mailing list Rails-spinoffs@lists.rubyonrails.org http://lists.rubyonrails.org/mailman/listinfo/rails-spinoffs