makes the specified month/year as currently visible in the calendar
date | Date|string | month/year you want to show |
// shows June, 2011
myCalendar.showMonth(new Date(2011,5,1));
// or shows January, 2013
myCalendar.showMonth("2013-01-01");
if you want always show your custom month/year ignoring the selected date (when a calendar is attached to an input or a form) - the onShow event will be useful
Back to top