Hi, I am trying to find out element which are dragged & dropped on the list in following method:
$("#example").sortable({ //if i move "1" at second position then here i want array of ids 2,1 sequence. ?? // I tried selector but it gives me all the elements. ie. 2,1,3. }); <ul> <li id="1" class="exampleclass"></li> <li id="2" class="exampleclass"></li> <li id="3" class="exampleclass"></li> </ul> Can anyone help me on this?