Forum: Ruby on Rails Re: how HTML_Option works?

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.
Bharat A. (Guest)
on 2006-05-22 19:56
(Received via mailing list)
Not sure about how to get the exact scenario below to work, but an
alternative is to use Observers. Observers let you monitor a field and
make an ajax call to the handler when the value changes. It even sends
the new value to the handler.

Described nicely in the ajax on rails article at

Hope this will help


>Ok, it worked but I have another problem now...
>I am using this form_remote_tag to manage my form:
>form_remote_tag( :url => {:action => "update_variation"},
>					 :loading
=>"'search-indicator_" +
>h( + "')",>
>					 :complete =>
h( + "')",
>					 :html  => 	{:name  =>
"form_for_" +})
>my browser goes to .../update_variation insted of just running the ajax
This topic is locked and can not be replied to.