<input id= "start_date" name="start_date" class="easyui-datebox" required="true" editable="true">
<input id = "end_date" name="end_date" class="easyui-datebox" required="true" editable="true" >

 

$("#start_date").datebox({
onSelect:function(beginDate){
$('#end_date').datebox().datebox('calendar').calendar({
validator:function(endDate){
return beginDate <= endDate;
}
});

$('#end_date').datebox({
onShowPanel : function(){
$(this).datebox('calendar').calendar("moveTo", beginDate);
}
});

}
});

相关文章:

  • 2021-07-11
  • 2022-12-23
  • 2022-12-23
  • 2022-12-23
  • 2022-12-23
  • 2022-01-03
  • 2021-11-11
  • 2022-12-23
猜你喜欢
  • 2022-01-17
  • 2021-09-05
  • 2022-12-23
  • 2021-12-25
  • 2022-12-23
  • 2022-12-23
  • 2022-01-13
相关资源
相似解决方案