你好,我使用的是wijmo弹出日历。
我已经设法通过使用以下命令自动选择日期
$("#to-calendar").wijcalendar("selectDate", "March 14, 2012");问题是日历默认显示当前月份。有没有办法自动更改日历的月/年视图?
我已经搜索了wijmo网站和文档,但是没有找到任何东西。
发布于 2012-06-21 20:02:42
我想出来了,还需要加上: displayDate:
$("#to-calendar").wijcalendar(
{
popupMode: true,
showOtherMonthDays: false,
displayDate: new Date('2010/08/25')
});https://stackoverflow.com/questions/11137606
复制相似问题