pass range of dates on selecting two dates
<p>I have a Jquery Datepicker where i need to select a date range, like the start date and end date. 
Currently I am passing (individual) selected date on a click of a button. I need some understanding how can i pass the date range. </p>

<p><strong>Jquery Calender (Datepicker)</strong></p>

<pre><code>function showSelectDatesFromCalendar() {
    $('#selectDates').datepick({minDate: new Date(1990, 1 - 1, 1),maxDate: new Date(), defaultDate: new Date(), monthsToShow:[1,3],monthsToStep:3, multiSelect:999,dateFormat:'mm/dd/yyyy'
        ,changeMonth:false, showSpeed:'#fast'});
}
</code></pre>

<p>1) If I select 1 dec and 30 dec, 1 dec is start date, 30 dec is end date. then
it should pass all the dates in between the start and end date. </p>

<p>How can i achieve this functionality. </p>
