87,922
社区成员
发帖
与我相关
我的任务
分享
$("#tbxStartDate").datepicker({
dateFormat: 'yy-mm-dd',
changeMonth: true,
changeYear: true,
monthNamesShort: ['一月', '二月', '三月', '四月', '五月', '六月', '七月', '八月', '九月', '十月', '十一月', '十二月'],
dayNamesMin: ['日', '一', '二', '三', '四', '五', '六'],
yearRange: '1993:c',
onClose: function (selectedDate) {
// 日期验证
}
});
$("#tbxStartDate").datepicker({
dateFormat: 'yy-mm-dd',
changeMonth: true,
changeYear: true,
monthNamesShort: ['一月', '二月', '三月', '四月', '五月', '六月', '七月', '八月', '九月', '十月', '十一月', '十二月'],
dayNamesMin: ['日', '一', '二', '三', '四', '五', '六'],
yearRange: '1993:c',
onClose: function (selectedDate) {
$("#tbxEndDate").datepicker("option", "minDate", selectedDate);
}
});