What are the differences between
<a href="#" value="Register" onclick="<%= remote_function(:update =>
"title_login", :url => { :action => :register })%>;">Link Here</a>
and using
<%= link_to "Link Here", :action => "register" %>
with register.rjs which contains the code
page.replace_html "title_login", "blah blah blah"
Are there any performance differences between using rjs vs.
remote_function? What are the advantages/disadvantages?
Thanks,
Ben Lisbakken
_______________________________________________
Rails-spinoffs mailing list
Rails-spinoffs@lists.rubyonrails.org
http://lists.rubyonrails.org/mailman/listinfo/rails-spinoffs