Date script for Dropdown using Javascript/JQuery
<p>I need to populate dropdown/ select list with calender dates in DD-MM-YYYY format, I have to do this in JavaScript and script should automatically fill Dropdown with dates for next 3 months.</p>

<p>I tried to look for such script but could not find. I would appreciate any help. i am open to use any jQuery if it works.</p>

<p>I have to fill dropdown with date in the format mentioned i cant use popup Calenders etc..</p>

<p>Example:</p>

<pre><code>&lt;select class="ddDates" id="Dates" name="Dates"&gt;
    &lt;option value="10-01-2012" selected&gt;10-01-2012&lt;/option&gt;
    &lt;option value="11-01-2012"&gt;11-01-2012&lt;/option&gt;
    &lt;option value="12-01-2012"&gt;12-01-2012&lt;/option&gt;
    &lt;option value="13-01-2012"&gt;13-01-2012&lt;/option&gt;
&lt;/select&gt;
</code></pre>

<p>I have searched google and i cant even find the logic how i can read system calender and populate the dropdown/ select list </p>
