Re: how HTML_Option works?


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”},
=>“'search-indicator_” +
h( + “’)”,>
:complete =>
h( + “’)”,
:html => {:name =>
“form_for_” +})
my browser goes to …/update_variation insted of just running the ajax