You have a form. Each item is a text input that hold the position of the item in the list. The user can change the positions and submit the form.
If JavaScript is on, the text inputs are transform into select elements with the list of possible position as option and the list is styled as drag and drop list. Then it will work like the video. We can also disable the form and use Ajax to submit the new positions.
Comments