Hi
I have the following code:
<%= f.submit 'First', :class => "mybutton", :myid=> "xx" %>
<%= f.submit 'Second' %>
I would have expected to use params[:myid] to check which submit
button was pressed but it does not seem to register the params value.
Or is it just not possible to check which submission button was
pressed?
Thanks!
--~--~---------~--~----~------------~-------~--~----~
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
-~----------~----~----~----~------~----~------~--~---