Canlendar default date

Is there a way to set the calendar’s default date (the date highlighted when a user first clicks a calendar control) to a specific date other than today? We have a situation where users want the default date of the calendar to be the first date of last week.

Any idea?


You can use setDate method. It requires Date object as a parameter. For example:

var date = new Date(2010,5,11);