I am having problems with firefox and remote_form the helper function
creates returns false on submit. However it seems like firefox ignores
the value returned. What am I doing wrong or not getting?
[email protected] wrote:
I am having problems with firefox and remote_form the helper function
creates returns false on submit. However it seems like firefox ignores
the value returned. What am I doing wrong or not getting?
What are you trying to do exactly?
The form tag that is created by form_remote_tag does its magic in the
onsumbit event of the form.
The “return false” is there to abort the actual submission of the form
through conventional means. Without it, the form would submit, and a
new page would load. This would not be the correct action if you want
an ajax request to be made out of your form submission.