Update a div element without having a corresponding action


#1

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