Is there a website. It has page editing menu. He write.
Using a library jquery.tablednd.js
Duck here. Each time you change menu DragDrop is sent to the backend request menu=2&menu=1&menu=3
Figures is the menu identifier in the database, and the order in which it was written, this is the order which must be recorded in the database. But how to handle this , roughly speaking, the text - don't know. How do you do, do not tell me?