Difei Zhao 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
now I know "render :partial" works in js.erb, but why not "render
:action"? A "render :action => :new" gives "Rendered resources/_new" in
the log, why? Thanks!