Forum: Ruby on Rails update a div element without having a corresponding action

Announcement (2017-05-07): is now read-only since I unfortunately do not have the time to support and maintain the forum any more. Please see and for other Rails- und Ruby-related community platforms.
Chris Larson (Guest)
on 2006-03-31 21:23
(Received via mailing list)
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.

This topic is locked and can not be replied to.