When you define you draggable object, assign a member variable to it
that stores info about the parent...

var myDraggable = new Draggable(...);
myDraggable.parentDiv = $('myDropA');


Then when it gets dropped, you can see where it came from simply by
accessing the parentDiv property. Expandos are your friend.

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

Reply via email to