开发者

jQuery UI - Custom widget - Datepicker to Whole Year Calendar

i want to display whole 开发者_C百科year with jquery ui. is it possible to cut down the code to just whole year Calender?

jQuery UI - Custom widget - Datepicker to Whole Year Calendar


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.

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜