This may or may not answer your question, but I recently discovered a
rails plugin called jrails which integrates jquery into rails very
similar to the way prototype comes in rails.

installing jrails allows you to use this:
<%= javascript_include_tag :defaults %>
to include jquery library files
and there are other benefits and integrations, some of which i am
pretty sure include helper methods for rjs.
so i would try looking into the details for jrails... hope that
helps... J

On Mar 3, 12:31 am, Difei Zhao <[email protected]>
wrote:
> Greetings all,
>
>   I think many fellow rails developers are using jquery extensively now
> and some one may already solved my problem:
>
>   rails' RJS facility has helper methods like "replace_html", they
> allowed you to render partials in the .rjs file and execute the
> javascript which updates the page, how can I do that using jquery?
> Thanks in advance!
>
> Difei
> --
> Posted viahttp://www.ruby-forum.com/.

--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups "Ruby 
on Rails: Talk" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to 
[email protected]
For more options, visit this group at 
http://groups.google.com/group/rubyonrails-talk?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to