Hi,

the results are correct, because Sortable.serialize does not retrun
the content of the sortable items, but the identifier part of your
ids. And this part is empty, because this is the part after the
underscore. Another problem is that your code is not valid HTML,
because the ids must be unique, which they aren't. So change your list
to somthing like:

<li class='green' id='available_OGVORDNBR' name='available_'>OGVORDNBR</li>
<li class='green' id='available_OGVORDSTS' name='available_'>OGVORDSTS</li>
<li class='green' id='available_OGVORDCST' name='available_'>OGVORDCST</li>
<li class='green' id='available_OGVTRPMOD' name='available_'>OGVTRPMOD</li>
<li class='green' id='available_OGVSELHUB' name='available_'>OGVSELHUB</li>

and everything will work as expected. For more information take a look
at: http://wiki.script.aculo.us/scriptaculous/show/Sortable.serialize

Hope that helps,

Tim

--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups "Ruby 
on Rails: Spinoffs" 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/rubyonrails-spinoffs
-~----------~----~----~----~------~----~------~--~---

Reply via email to