jquery Sortable - cant serialize data
I have a sortable list that I want to save the items group. To be clear
I move item 2 into list B, then I need to save the fact that item 2 is in list B.
I have a form where I want, once the submit button is pressed, the lists orders to be saved as data and placed within the form for submission (hidden input) as a value.
I have tried to use the "toArray( options )" for the sortable UI, however I am using it in conjunction with a plugin to make it multi-selectible. I cannot for the life of me get the array into the from.
I have the basic setup in a jsfiddle
Any help much appreciated for this Jquery Noob :thumbsup:
Took the dog for a walk when I had my sudden epiphany, put the inputs within the <li> items.
Working perfectly :)
|All times are GMT +1. The time now is 07:45 AM.|
Powered by vBulletin®
Copyright ©2000 - 2013, Jelsoft Enterprises Ltd.