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.
Jquery Calender (Datepicker)
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'});
}
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.
How can i achieve this functionality.