[Rails] Re: Ajax submit: Clicking 'Submit' vs. hitting ENTER

2010-05-28 Thread Manivannan J
On May 27, 10:24 pm, Tom Ha li...@ruby-forum.com wrote: Hi there, Has anyone an idea why the below form - submits correctly when I click the 'Submit' button - but does call the 'new' action instead of 'create' when I hit ENTER? % form_remote_tag :html = { :action = url_for(:controller =

[Rails] Re: Ajax submit: Clicking 'Submit' vs. hitting ENTER

2010-05-28 Thread Manivannan J
On May 27, 10:24 pm, Tom Ha li...@ruby-forum.com wrote: Hi there, Has anyone an idea why the below form - submits correctly when I click the 'Submit' button - but does call the 'new' action instead of 'create' when I hit ENTER? % form_remote_tag :html = { :action = url_for(:controller =

[Rails] Re: Ajax submit: Clicking 'Submit' vs. hitting ENTER

2010-05-28 Thread Manivannan J
On May 27, 10:24 pm, Tom Ha li...@ruby-forum.com wrote: Hi there, Has anyone an idea why the below form - submits correctly when I click the 'Submit' button - but does call the 'new' action instead of 'create' when I hit ENTER? % form_remote_tag :html = { :action = url_for(:controller =

[Rails] Re: Ajax submit: Clicking 'Submit' vs. hitting ENTER

2010-05-28 Thread Tom Ha
Thanks for all the feedback! Fred's nailed it and all other hints were instructive as well! -- 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

[Rails] Re: Ajax submit: Clicking 'Submit' vs. hitting ENTER

2010-05-27 Thread Frederick Cheung
On May 27, 6:24 pm, Tom Ha li...@ruby-forum.com wrote: Hi there, Has anyone an idea why the below form - submits correctly when I click the 'Submit' button - but does call the 'new' action instead of 'create' when I hit ENTER? % form_remote_tag :html = { :action = url_for(:controller =