jQuery copy multiple date dropdowns to hidden field
<p>I have a form with 3 dropdown boxes to select Month/Day/Year. I need to submit the info selected in ISO 8601 format (e.g. '2012-05-30') via a hidden field. How can I use jQuery to build the date value based on what's selected in those dropdown boxes?</p>

<p>The HTML is something like:</p>

<pre><code>&lt;select name=month&gt;
   &lt;option&gt;01&lt;/option&gt;
   &lt;option&gt;02&lt;/option&gt;
   &lt;option&gt;etc...&lt;/option&gt;
&lt;/select&gt;

&lt;select name=day&gt;
   &lt;option&gt;01&lt;/option&gt;
   &lt;option&gt;02&lt;/option&gt;
   &lt;option&gt;etc...&lt;/option&gt;
&lt;/select&gt;

&lt;select name=year&gt;
   &lt;option&gt;2012&lt;/option&gt;
   &lt;option&gt;2013&lt;/option&gt;
   &lt;option&gt;etc...&lt;/option&gt;
&lt;/select&gt;

&lt;input type="hidden" name="date" value=""&gt;
</code></pre>
