Perhaps this is elementary, but I'm having trouble finding something in the documentation. I'm attempting to create a page with a form for new data submission and below it a list (a Sortable) of the various records. I'm unsure how to make the form so that it will automatically create a new element to the Sortable with the data that gets Ajaxed back from the server. Is there a
Sortable.add method or something like that?
visual description (yay, pictures!):
<form ...unknownAjaxOptions... >
<inputs ..>
</form>
<ul>
<-- how do I get a new record to show up here?
<li>row1</li>
<li>row2</li>
</ul>
<script>make sortable</script>
Thanks everybody,
- Danger
_______________________________________________
Rails-spinoffs mailing list
Rails-spinoffs@lists.rubyonrails.org
http://lists.rubyonrails.org/mailman/listinfo/rails-spinoffs