Assuming that $(ids[i]) is the hidden input field, wouldn't the
following line need to reference it as a form element?
>                                       $(ids[i]).innerHTML = i;


I would assume it should be (the "'' + " makes it a string, not sure if
you can set a form element value to an int, maybe you can):
$(ids[i]).value = '' + i;

Or maybe I'm not understanding the code.  

Greg
_______________________________________________
Rails-spinoffs mailing list
Rails-spinoffs@lists.rubyonrails.org
http://lists.rubyonrails.org/mailman/listinfo/rails-spinoffs

Reply via email to