I've a sortable unordered list as follows. How do I use controller to 
detect this element and get the contents to save each LI item into a row in 
the database?

<ul id="show-items" class="ui-sortable">
<li id="todo-163"><span class="editable">1. Good</span> <a href="#" 
style="display: none;">X</a></li>
<li id="todo-190"><span class="editable">2. Better</span> <a href="#" 
style="display: none;">X</a></li>
<li id="todo-189"><span class="editable">3. Best</span> <a href="#" 
style="display: none;">X</a></li>
</ul>

-- 
You received this message because you are subscribed to the Google Groups "Ruby 
on Rails: Talk" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To post to this group, send email to [email protected].
To view this discussion on the web visit 
https://groups.google.com/d/msgid/rubyonrails-talk/ab8e31a4-2025-4179-a258-7acb0b7d2e3b%40googlegroups.com.
For more options, visit https://groups.google.com/groups/opt_out.


Reply via email to