Thats simple! Thanks alot! On May 9, 9:07 pm, "Andrew Kaspick" <[EMAIL PROTECTED]> wrote: > You probably want to take a look at remote_function... > > http://api.rubyonrails.org/classes/ActionView/Helpers/PrototypeHelper... > > On 5/9/07, Bunsenator <[EMAIL PROTECTED]> wrote: > > > > > I was wondering, hypothetically, how I could attach an event handler, > > like for instance onChange, to trigger an action/method in my > > controller. So > > far, I figured out how to include event handlers, like so: > > > <%= select ('applicant', 'marital_status', {"Single" => "single", > > "Married" => "married", "Divorced" => "divorced", "Partner" => > > "partner", "Widowed" => "widowed", "Separated" => > > "separated"}, :onchange=>'getComment()') %> > > > but now, is there an elegant way to link to/call an action/method in > > my controller?
--~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "Ruby on Rails: Spinoffs" 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-spinoffs?hl=en -~----------~----~----~----~------~----~------~--~---
