Displaying 1 result from an estimated 1 matches for "ideahandl".
Did you mean:
ideahandle
2006 Feb 08
0
Get id of object being dragged
Hi
Scriptaculous is awesome. Within a couple of hours I''ve been able to get
heaps done.
My one problem is that I can''t seem to get the id of the object being
dragged.
Here is the code I am using:
new
Draggable(''Idea'',{handle:''IdeaHandle'',change:function(element){$(''test'').innerHTML
= encodeURIComponent(element.id)}});
yet the way I reference the id works for a droppable:
Droppables.add(''IdeaPad'', {onDrop:function(element,dropon){alert(''id:'' +
encodeURIComponent(elem...