Re: [Rails-spinoffs] Re: question about sortable demo

2006-01-26 Thread Maximilian Gärber
Hi, when you declare the id's of the li elements like then Sortable.serialize will return the part after the underscore in your id attribute in the order the are sorted as an array. Peter Michaux wrote: It looks like params[:list] is an array of the numbers in the li id. Simple as that?

[Rails-spinoffs] Re: question about sortable demo

2006-01-25 Thread Peter Michaux
It looks like params[:list] is an array of the numbers in the li id. Simple as that? Thanks, Peter ___ Rails-spinoffs mailing list Rails-spinoffs@lists.rubyonrails.org http://lists.rubyonrails.org/mailman/listinfo/rails-spinoffs