jQuery and rails events

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).

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

<span onclick="
<%= remote_function :url => { :action => :some_action } %> and the
controller
">Hi!</span>

will handle it from there. help?...