I have a select_tag that, when changed, calls a javascript method using onchange.
I would like the value of the option selected in the select_tag to be sent as a parameter to the method.
<%= link_to_function select_tag :search_type, options_for_select(search_type_options, @search_type), :onchange => "showSearchables( **the option selected ** );return false;" %>
Without JQuery, you can change the option selected to: