Ben Foster 10/13/2011

jQuery sortable - getting the new and original index

Read Original

This article explains how to implement drag-and-drop sorting with jQuery UI's sortable plugin. It details methods like `toArray` for sending full list orders and demonstrates using the `start` and `stop` events to capture an item's original and new index, then POST only the changed data to a server via AJAX for efficient updates.

jQuery sortable - getting the new and original index

Comments

No comments yet

Be the first to share your thoughts!

Browser Extension

Get instant access to AllDevBlogs from your browser