Displaying 1 result from an estimated 1 matches for "lang_select".
Did you mean:
lagselect
2006 Nov 04
0
Using collection_select and ajax
...user to press a Submit button nor
refresh the page, of course.
I''m using the standard collection_select in my view:
<%= collection_select (''item'', ''language_id'', @languages, ''id'', ''lang'',
{}, { :id => ''lang_select'' } ) %>
<%= observe_field( ''lang_select'',
<snip>
%>
This renders as follows:
<select id="lang_select" name="item[language_id]"><option
value="1">English</option>
<option value="2">Spanish<...