Reputation: 1570
i want to display whole year with jquery ui. is it possible to cut down the code to just whole year Calender?
Upvotes: 1
Views: 3086
Reputation: 525
Set the "defaultDate" to the 1th of january, and then set "numberOfMonths" to 12.
http://jqueryui.com/demos/datepicker/#multiple-calendars
Edit: you don't have to set the defaultDate to 1th of january, it depends on the date you want the calender to start.
Upvotes: 5