# jQuery and rails events

**URL:** <https://www.ruby-forum.com/t/jquery-and-rails-events/159294>\
**Category:** Rails\
**Created:** [February 3, 2009, 8:51am UTC](https://www.ruby-forum.com/t/jquery-and-rails-events/159294 "2009-02-03T08:51:16Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![sa125](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/s/b4bc9f/32.png) [@sa125](https://www.ruby-forum.com/u/sa125)\
**Post date:** [February 3, 2009, 8:51am UTC](https://www.ruby-forum.com/t/jquery-and-rails-events/159294/1 "2009-02-03T08:51:16Z")

</div>

I read DHH’s post on using various js libraries with rails, and thought  
I’d give it a try with jQuery ([http://loudthinking.com/posts/32](http://loudthinking.com/posts/32)).

What I have is a page composed of various partials, and I’m trying to  
invoke jQuery to render a different partial when something is clicked  
on.

What I can’t figure out is how to call the action from jQuery that’ll  
cause the actual partial to be rendered. With prototype this would  
probably be done with

Hi!

will handle it from there. help?..
