This is probably a stupid question but I am confused...

I see an example in the 3d Edition of Agile Dev with Rails (page 539)
where a simple calculator view, with two text boxes for numbers and a
dropdown for what operation to perform, does not mention a submit button
or gesture.

I don't understand that. Yes, the form_tag does indicate an :action => ,
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.

--
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