Chris Larson
2006-Mar-31 17:24 UTC
[Rails] update a div element without having a corresponding action
Rails group,
I''m looking to update a div element with a page link without having
to write a corresponding action to populate that element.
I''ve tried:
<%= link_to_function "cancel",
page.replace_html("control", :partial
=> "controls") %>
Basically I''m trying to limit the amount of methods that serve my
Ajax calls that only render a partial.
Thanks,
Chris
