Submitting sortable item values, not just IDs

Submitting sortable item values, not just IDs

New to the forum, lets hope you guys can help out.

Rather complicated one.

I have a sortable with has nested content in each sortable item:

<ul id="sortable">
<li id="item_1">item 1<div>content i want to get</div></li>
<li id="item_2">item 2<div>content that i can change dynamicallyt</div></li>
<li id="item_3">item 3<div>content i want to get after form submits</div></li>
</ul>


I have a submit button which serializes the sortable so I can save the
changes of the order. I also want to save the changes I have made in
the div's but that information doesn't seem to get passed, only the
ids of the items. Seems a bit useless.

So, the question, how can I get the content/value/innerHTML of the sortable items along with the order?

Thanks for any help in advanced!
    • Topic Participants

    • david