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