Hi Folks,
I want to trigger an AJAX call when a user clicks on a table row. Is
there a Rails method I can use from javascript, equivalent to
link_to_remote, that can be triggered from something other than a
hyperlink?
Essentially, I want to generate the contents of the link_to_remote
onclick handler, and embed it in a javascript function instead of a
hyperlink onclick handler.
Any help is greatly appreciated.
Cheers,
Chris Hughes
--~--~---------~--~----~------------~-------~--~----~
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
rubyonrails-talk-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org
To unsubscribe from this group, send email to
rubyonrails-talk-unsubscribe-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org
For more options, visit this group at
http://groups.google.com/group/rubyonrails-talk
-~----------~----~----~----~------~----~------~--~---