ramiro.rodriguez-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org
2006-Dec-19 19:39 UTC
remote_form_tag on firefox
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? --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "Ruby on Rails: Talk" group. To post to this group, send email to rubyonrails-talk-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org To unsubscribe from this group, send email to rubyonrails-talk-unsubscribe-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org For more options, visit this group at http://groups.google.com/group/rubyonrails-talk?hl=en -~----------~----~----~----~------~----~------~--~---
Hi Ramiro, please post the code for your form so that others can analyze the issue that you''re having. Thanks, -Conrad On 12/19/06, ramiro.rodriguez-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org <ramiro.rodriguez-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org> 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? > > > > >--~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "Ruby on Rails: Talk" group. To post to this group, send email to rubyonrails-talk-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org To unsubscribe from this group, send email to rubyonrails-talk-unsubscribe-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org For more options, visit this group at http://groups.google.com/group/rubyonrails-talk?hl=en -~----------~----~----~----~------~----~------~--~---
ramiro.rodriguez-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org 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. <form action="/foo" onsubmit="Ajax.something(...); return false"> 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. -- Posted via http://www.ruby-forum.com/. --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "Ruby on Rails: Talk" group. To post to this group, send email to rubyonrails-talk-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org To unsubscribe from this group, send email to rubyonrails-talk-unsubscribe-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org For more options, visit this group at http://groups.google.com/group/rubyonrails-talk?hl=en -~----------~----~----~----~------~----~------~--~---