My question is whether we can update the contents of the table while dragging / resizing the div. Content is the position and size of the div that is being dragged or resized help me
Assuming you are using jQuery Draggable, you can use dragpart of it:
drag
$("#draggable").draggable({ drag: function() { var offset = $(this).offset(); $(this).html(offset.left + ', ' + offset.top); } });
Example: http://jsfiddle.net/QH6QP/
Source: https://habr.com/ru/post/1757444/More articles:How to specify arguments when running Android emulator in Eclipse (for data cleansing) - androidC ++ 5 dimensional vector? - c ++CRUD in Winforms with linq-to-sql - crudResource .getSystem (). OpenRawResource (random.txt) returns resource $ NotFoundException - javaCreating multiple Maven projects - maven-2Highlight class attributes with accessor - c #WPF animation problem when using Storyboard from code - wpfBest Android version control for apps? - javaC ++: copy containers efficiently - c ++What is GPS active effect on mobile device battery life? - androidAll Articles