makes the specified date selected
date | Date|string | the date you want to make selected |
myCalendar.setDate(new Date(2011,5,8));
// or
myCalendar.setDate("2011-06-08"); // assuming that date format is "%Y-%m-%d"
the date should be defined either in the default date format ("%Y-%m-%d") or in the format that was indicated in the setDateFormat() method
Back to top