Displaying 1 result from an estimated 1 matches for "results_table".
Did you mean:
result_table
2007 Jan 21
0
select box selected on value ? w option_for_select
...lt;%= options_for_select({ "most cheerful" => "1", "most beautiful" =>
"2", "most displayed" => "3"}, @sort_criteria) %>
</select>
<%= observe_field("most_criteria",
:update => "results_table",
:url => { :action => :list , :params =>
@params.merge({:page=> nil })},
:with => "''sort=''+value",
:on => "changed")
%>
when changed I get the params[:sort] set to the seelcted value....