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

This forum is not affiliated to the Ruby language, Ruby on Rails framework, nor any Ruby applications discussed here.

| Privacy Policy | Terms of Service | Remote Ruby Jobs