Using jQuery to pull values from a select element
<p>I have a select element in part of my page, and a form all the way on the bottom. I'm trying to populate one of the form variables with the value of the select element like this:</p>

<pre><code>&lt;input type="hidden" value="valuefromselectelement..." name="foo" id="foo"/&gt;
</code></pre>

<p>How can I do that? Presume the select element has the id <code>currencySelect</code>.</p>
