sortable list what switches with what

classic Classic list List threaded Threaded
1 message Options
Reply | Threaded
Open this post in threaded view
|

sortable list what switches with what

human444
i have a sortable list. when the user rearranges an item, i should know what was switched with what. i dont want an array. i just want which element switches with which. each list item already has a unique ID.