I use Sort and get it and work. But I am trying to keep what is inside the lists.
Suppose I have 3 lists:
<ul id="top" class="connectedSortable"> <li>elem1</li> <li>elem2</li> <li>elem2</li> </ul> <ul id="left" class="connectedSortable"> </ul> <ul id="right" class="connectedSortable"> </ul>
JQuery
$("#top, #left, #right") .sortable({ connectWith: ".connectedSortable", stop: function(event, ui) { alert(this.id);
I tried using the stop event inside sortable, but it only returns the ul identifier. So I want jQuery to tell me when I moved elem1 from list1 to list2 (or any elemX , of course).
I am trying to make a homepage so that the user can independently determine the layout.
Jason94
source share