Draggable element

Draggable element


In the current draggable demo, I noticed that $
(ui.draggable.element).text() is returning the text for the entire
body and not the specific element.
Is anyone else coming across this problem. How do you access the
attributes for the specific element?