On 3 April 2010 16:11, Pito Salas <[email protected]> wrote:
> Philip Hallstrom wrote:
>>> but what triggers that if there is no <%= submit_tag 'Save' %>?
>> Browser dependent, but usually if you hit ENTER while in a text field
>> it will submit the form.
>>
>> Or perhaps that form's submission is being triggered via javascript.
>
> Hi Phillip
>
> There's no javascript, but I think the default submit via ENTER must be
> what was intended. I didn't know about that. Thanks!

All that enter does is to hit the button by the keyboard instead of
the mouse, so that does not explain it.
Have you got the pdf of the book, if so then copy out the view and
post it here.  Or is the code downloadable from somewhere so that you
can get it and post it?
There is definitely a form on the page I presume?

Colin

-- 
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 [email protected].
To unsubscribe from this group, send email to 
[email protected].
For more options, visit this group at 
http://groups.google.com/group/rubyonrails-talk?hl=en.

Reply via email to