3
如何在wijmo日曆中設置最大日期?wijmo日期選擇器最大日期
這裏是我的代碼:
$(function() {
$("#calendar1").wijcalendar({
popupMode: true,
selectedDatesChanged: function() {
var selDate = $(this).wijcalendar("getSelectedDate");
var _selDate = dateFormat(selDate, "mm/dd/yyyy");
if (!!selDate) $("#begindate").val(_selDate);
}
});
$("#begindate").click(function() {
$("#calendar1").wijcalendar("popup", {
of: $("#begindate"),
offset: '0 2'
});
})