ui.draggable.js, How to get at the dragged element?
Hi,
In my little test project I have a DIV element that I've made
draggable, and I have specified a callback function, fstart(event,
ui), for the 'start' option. This DIV contains some bold face text
like <B>Hello</B>. If I start the drag with a mousedown on the Hello
text, then the target property of the 'event' parameter of the fstart
callback points to the B element, not the DIV. In my case I would need
a pointer to the dragged DIV itself. Could the 'ui' parameter be used?
I have tried ui.instance or ui.element. Both point to some [object
Object], but I haven't yet figured out if any of these objects could
help me get at my DIV.
/Jon