How to get the ui.draggable content?
I am a newbie to Jquery and facing difficulty in getting the content of the draggable item. Here's my drop function:
drop: function (ev, ui) {
alert($(ui.draggable).attr("id"));
$(this).append (ui.draggable);
}
The above alert displays me the ID of the draggable element. But i need to get the contents of the draggable item such that a stored procedure will be called by passing the dragged content as parameter values. Request help in this regard.
Thanks