makes the specified dates selected
dateLeft | Date|string | date for the left calendar instance |
dateRight | Date|string | date for the right calendar instance |
// using date object
myCalendar.setDates(new Date(2011,5,8),new Date(2011,6,10));
// using string
// assuming that date format is "%Y-%m-%d"
myCalendar.setDate("2011-06-08","2011-07-10");
Back to top