标签:sel pre end code 控件 table select from span
当界面存在起始日期控件和结束日期控件的时候,可以在起始日期控件初始化的时候为控件赋属性:
$("#dateFrom").datebox({
editable: false,
width: 104,
onSelect: function (d) {
$(‘#dateTo‘).datebox().datebox(‘calendar‘).calendar({
validator: function (date) {
return d <= date;
}
});
}
})
标签:sel pre end code 控件 table select from span
原文地址:https://www.cnblogs.com/vichin/p/12409052.html