dropdown menu

Hi everyone,

I've been trying to figure out this problem for a good while but can't
seem to do it on my own. I need to create a dropdown menu that when
the user changes the value it will trigger a remote_function. The
dropdown menu is populated for now by an array of words that I defined
in the controller called @frame_color[]. Here's what I have so far...

<%= select_tag(:color, options_for_select(@frame_color,
params[:color]), :onchange => remote_function(:update =>
"middle_sub_right", :url => {:action => 'print_change', :passed_color
=> params[:color], :id => @prints, :photo => @photo}))%>

All I need is for the selected value in the dropdown menu is passed
sure where or how to get this value.

Any help would be greatly appreciated!