In the project I use http://jqueryui.com/sortable/#display-grid . There are several divs, between which you can drag inner divs. The task is to find out: 1. The external div, from which the internal div was removed. 2. Internal div. 3. Another outer div, where the inner div put. Is there any event that could catch these divs, because they contain the information I need. P.S. I apologize for the confusion.

  • Why not use jqueryui.com/sortable/#connect-lists ? Most likely there will be the necessary info when dragging. And block boxes somehow through css do - Alexey Shimansky
  • @ Alexey Shimansky, hmm, I did not see anything like this in the description. Although in any case, thanks for the answer. - tekken
  • read more here, here about events and how drag and drop works in general html5rocks.com/ru/tutorials/dnd/basics - Shnur

1 answer 1

The solution was right at hand: In the sortable() method I added the stop: function (e, ui){} method, in which with the help of ui and this got the necessary data. Because this method is an event handler , then this event was immediately tracked, which turned out to be very useful.