I have the follow structure which is created with a nested sortable:
<UL id="container">
<LI id="main1">
<input type="checkbox" />
Lorem ipsum dolor sit amet, consectetur
<UL>
<LI id="child2">
<input type="checkbox" />
In hac habitasse platea dictumst.
<UL></UL>
</LI>
</UL>
</LI>
<LI id="main3">
<input type="checkbox" />
In hac habitasse platea dictumst.
<UL></UL>
</LI>
<LI id="main4">
<input type="checkbox" />
In hac habitasse platea dictumst.
<UL></UL>
</LI>
<LI id="main5">
<input type="checkbox" />
In hac habitasse platea dictumst.
<UL></UL>
</LI>
</UL>
Where I'm stuck is how to send this back to the database. I'm guessing that it needs to be serialized, does that sound right too? I'm open for suggestions on how to best store the ordering in the db in a way that has each list item as it's on record.
I'm a little lost at this point and appreciate any tips to move me in the right direction.
Thanks,
B