I have done this http://jsbin.com/UBezOVA/1/edit.
When I click the submit button, i want to get the current order of the list item. But, it seems that $(\"#sortab
$(\"#sortab
$( function() { $( "#sortable" ).sortable(); $( "#sortable" ).disableSelection(); } ); function submit(){ var idsInOrder = $("#sortable").sortable("toArray"); alert(idsInOrder); }
Item 1 Item 2 Item 3 Item 4 Item 5 Item 6 Item 7