Displaying 1 result from an estimated 1 matches for "widgets_id".
Did you mean:
widget_id
2006 Apr 22
2
selected value
I would like to pass the value selected in a select statement back so
that 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...