hi my question is can we update the table content while dragging/resizing the div.The content is the position and size of the div that is dragged or re-sized please help mee
+1
A:
Assuming you are using jQuery Draggable, you could use the drag
part of it:
$("#draggable").draggable({
drag: function() {
var offset = $(this).offset();
$(this).html(offset.left + ', ' + offset.top);
}
});
Example: http://jsfiddle.net/QH6QP/
Blair McMillan
2010-07-31 07:21:34
@Blair McMillan thanks,it is working
shahul
2010-08-02 05:56:08