Displaying 1 result from an estimated 1 matches for "loadpart".
Did you mean:
loadparm
2006 Apr 22
2
selected value
...at I can use it in the controller, through using a remote_function
call, and I cannot figure out what I am doing wrong:
view rhtml:
<select id="widgets_id" name="widgets[id]" onchange="<%=
remote_function( :update => "parts", :url=> { :action => :loadParts } )
%>">
<%= options_from_collection_for_select @widgets, ''id'', ''name'' %>
</select>
Select is built fine. I cannot find documented anywhere, where I can
pass back the current value of the select (ie, something like "id =>
...)...