Hey David,

Can't you make your id's unique.
So you can get your total element back with the id.

Grz,

Steven Lots
Webdeveloper

http://www.b-hind.eu
http://www.lotsofdots.be


-----Original Message-----
From: [email protected] [mailto:[email protected]] On
Behalf Of [email protected]
Sent: dinsdag 28 juli 2009 16:51
To: jQuery UI
Subject: [jquery-ui] Serialized Sortable innerHTML


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_1">item 2<div>content i want to get</div></li>
<li id="item_1">item 3<div>content i want to get</div></li>
</ul>

I have a submit button which serilizes 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.

So, the question, how can I get the inner html of the items?

No virus found in this incoming message.
Checked by AVG - www.avg.com 
Version: 8.5.392 / Virus Database: 270.13.33/2267 - Release Date: 07/27/09
17:59:00


--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"jQuery UI" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to 
[email protected]
For more options, visit this group at 
http://groups.google.com/group/jquery-ui?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to