Displaying 1 result from an estimated 1 matches for "regionopt".
Did you mean:
region_ptr
2006 Jan 19
1
Populating a select field using observe_field
...gt;Country</label><br/>
<%= select ''wine'', ''country_id'', @countries.collect {|c| [c.name, c.id]}
%>
<%= observe_field ''wine_country_id'', :url => { :controller =>
''countries'', :action => ''regionOptions'' }, :update => ''wine_region_id'',
:with => ''"id="+value'' %>
</p>
<p><label for="wine_region_id">Region</label><br/>
<%= select ''wine'', ''region_id'', @win...