I'm having a difficult time figuring out how to submit a remote (AJAX) form using the onclick of a checkbox. A normal submit button works fine, but the following statement submits the form normally, seemingly bypassing AJAX altogether: <%= check_box "report", "item", :onclick => "this.form.submit()" %> I can't simply use a remote_function because I need the form to actually submit so that the other fields on the form can be saved. How can I go about this?
on 2007-04-12 21:17
on 2007-04-12 22:13