Select/drop-down menu

The value of the selected element will be passed as a form parameter:

<%= form_start_tag :url=>{:controller=>'some_controller', :action=>'some_action'} %> <select name="my_select_box">   <option value="1">First Option</option>   <option value="2">Second Option</option> </select> <%= form_end_tag %>

and

class Somecontroller   def some_action     value = params[:my_select_box]   end end

Cheers, Max