mysql - jQuery UI Sortable update database -


Hey I'm working on a CMS and I'm building in CMS, I have all my fields data and I'm using the jQuery UI Sortable so that I can sort them, what is the best way to update the order field in my database when I drop my element? Can I use Ajax? If so, what should I look for to do this function (I have never used Ajax). Thanks in advance for any help!

Ajax is a great option to do this.

In jQuery, there is built-in support for Ajax. I will start with simple examples and work from there.

You can use the change event to sort when you have to save the sort order again:



Comments

Popular posts from this blog

excel vba - How to delete Solver(SOLVER.XLAM) code -

github - Teamcity & Git - PR merge builds - anyway to get HEAD commit hash? -

ios - Replace text in UITextView run slowly -