ruby on rails drop down onchange submit
===

I have the following code in my view 

    <%= form_for :folder_name, :remote => true, :method => "get", :url => {:action => "show_workflow_list"} do |f| %>
    
    <%= f.select :foldernames, options_for_select(@folders, @folders.first) %>
    
    <%= hidden_field_tag 'selected_domain', params[:something] %>
    <%= f.submit "Submit"%>
    <div class="workflow_selection" id="workflow_selection"></div>

and my `js.erb` file for the action show_workflow_list:

    $('#workflow_selection').html("<%=j render "show_workflow_list" %>");

Now i want to remove the submit button and render the `show_workflow_list` partial in the `<div>` tag on my view whenever there is a change in the drop down. of folders. 

I tried to add `:onchange => ("$('#folder_name').submit()")` in my `f.select` tag but it does not work
