I have a sortable list that I want to save the items group. To be clear
List A
item 1
item 3
List B
item 2
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