title: Get selected value from select_tag and pass it as a parameter
body: <p>I have a separate <strong>select_tag</strong> and a <strong>link_to</strong> and I'm sending some parameters via the <strong>link_to</strong>. I want to get the <em>selected value</em> and send it as one of the parameters. I tried to add <code>selected: params[:whatever]</code> to the <em>select_tag</em>, that didn't work. I tried doing it via js, I can get the selected value but I'm not sure how to set to that specific parameter. </p>
  
  <p>As requested: </p>
  
  <pre><code>&lt;%= select_tag :shipping_opt, options_for_select(delivery_opt(@select_store)), :include_blank =&gt; true %&gt;
  
  
  &lt;%= link_to 'Use this address', checkouts_step_two_path(:data =&gt; Checkout::CRYPT.encrypt_and_sign(s.id), :store =&gt; Checkout::CRYPT.encrypt_and_sign(@select_store.id), :order_info =&gt; ?? )  %&gt;
  </code></pre>
  
  <p>the order_info should be the selected shipping opt.</p>