I\'m using JQuery Sortable. I\'d like to know if it\'s possible to, after a number of resortings, restore the sortable control back to its original state similar to a form reset
Store a reference to the original element order then use that to re-order them.
var sortableElements = $("#sortable div"); $("#sortable").sortable();
Now when you want to restore the original sort order, simply append the divs to the #sortable element.
$("#sortable").append(sortableElements);