title: Dropdown list is not remain selected after refreshing the window
body: <p>I have a drop-down list like bellow:</p>
  
  <pre><code>    &lt;select class="span2" id ="sort" name= "order_by"&gt;
             &lt;option &gt;Default&lt;/option&gt;
             &lt;option &gt;Price&lt;/option&gt;
             &lt;option &gt;Color&lt;/option&gt;
      &lt;/select&gt;
  </code></pre>
  
  <p>and i have on change event handler for this :</p>
  
  <pre><code>$('select#sort').change(
  
    function(){       
      $(this).closest('form').trigger('submit');
    });
  </code></pre>
  
  <p>when i select the price from the dropdown list the price should remain selected but its not happening after refreshing the window.I am using ruby on rails . </p>
  
  <p>I have no idea whats happening here. </p>
  
  <p>Is there any one who can guide me?</p>
  
  <p>thanks </p>