Launch offer
Business website $150 USD Custom plugin $200 USD Ready in 5 days
Get a quote
jQuery

Sortable Lists with jQuery UI

Reorder lists with sortable; save order via AJAX on update.

Sortable Lists with jQuery UI — a practical guide to jQuery UI sortable with clear examples you can reuse in real projects.

jQuery Tutorial Series (89/101). Prefer one article? Read the complete jQuery tutorial.

Short description

Persist the order array to your backend.

sortable

$('#tasks').sortable({
  update: function () {
    var order = $(this).sortable('toArray');
    $.post('/api/tasks/order', { order: order });
  }
});

Leave a reply

Your email address will not be published. Required fields are marked *