Populate a input with a date based on selected option (date today + days)
<p>How to do this using jQuery</p>

<p>i have a select like </p>

<pre><code>&lt;select id="Plan_Id" name="Plan_Id"&gt;
    &lt;option value="30"&gt;Month&lt;/option&gt;
    &lt;option value="365"&gt;Annual&lt;/option&gt;
&lt;/select&gt;
</code></pre>

<p>then i have a input </p>

<pre><code>&lt;input name="date" id="date_picker" type="text" class="text date_picker" /&gt;
</code></pre>

<p>so based on the option i select i want to get the date today + value and show on the input was</p>

<p>m-d-Y.</p>

<p>so if today is january 07 and i select 30 -> month</p>

<p>my input will be populated with 02-06-2012</p>
