Rails, using jQuery without jrails
- by ibuck
Hello all,
I have been trying to convert my rails 2.2.2 app over to jQuery, and would like so without using jrails. The only reference material I can find on the subject is Railscasts Episode 136. Ryan goes over how to use jQuery to post a form and handle the response in a .js.erb file.
My questions is has anyone tried to use jQuery with .js.erb files with anchors as the trigger?
As a replacement for "link_to_remote".
I have gotten jQuery to do a .get to submit this link on click to the controller, but I cannot seem to get it to go into the .js.erb file.
Thanks