easyui set a start date can only choose smaller than the end date of the date, js code to get the value date

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

 

// Get the value date box js code

$('#start_date').datebox('getValue'),

// get the value in the drop down box select

$('#platformMessageapproval_status option:selected').val()

Guess you like

Origin www.cnblogs.com/xianz666/p/12149891.html