Get attribute of JQuery ui.draggable
Posted
by Jon
on Stack Overflow
See other posts from Stack Overflow
or by Jon
Published on 2010-04-13T20:37:29Z
Indexed on
2010/04/14
13:22 UTC
Read the original article
Hit count: 231
Hi Everyone,
I'm using JqueryUI for drag and drop on one of my pages and for some reason I can't seem to get an attribute of the ui.draggable object being passed into my droppable drop event.
ui.draggable.attr("src") and $(ui.draggable).attr("src") both return undefined, however if I type ui.draggable.html() I will get the html back. Any ideas?
© Stack Overflow or respective owner