Can someone tell me any tutorial wich I could follow in order to learn Jquery with Rails?. I see many tutorias about Jquery but I don`t know how to render it in rails views. I'm trying to do this but it does not work. <%= image_tag current_user.avatar_file_name , :class => 'user-img_style', :id => 'jquery'%> <script> $( "#jquery" ).click(function() { alert( "Handler for .click() called." ); }); </script> -- You received this message because you are subscribed to the Google Groups "Ruby on Rails: Talk" group. To unsubscribe from this group and stop receiving emails from it, send an email to rubyonrails-talk+unsubscribe-/JYPxA39Uh5TLH3MbocFF+G/Ez6ZCGd0@public.gmane.org To post to this group, send email to rubyonrails-talk-/JYPxA39Uh5TLH3MbocFF+G/Ez6ZCGd0@public.gmane.org To view this discussion on the web visit https://groups.google.com/d/msgid/rubyonrails-talk/fd79d7ba-a71b-4185-b186-0f7cd0583e25%40googlegroups.com. For more options, visit https://groups.google.com/d/optout.