RVince wrote:
> How can I amend a button on my form that looks like:
>
> <INPUT TYPE=BUTTON OnClick="$('leads').toggle();return true;"
> VALUE="Submit">
>
> To invoke a method
>
> def leads
> ..
> end
http://www.railsbrain.com/api/rails-2.3.2/doc/index.html?a=M002468&name=button_to_remote
--
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 [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
-~----------~----~----~----~------~----~------~--~---