Open parth23 opened 7 years ago
$("#TravelStartDate").datetimepicker({ format: "dd/mm/yyyy HH:ii P", showMeridian: true, autoclose: true, todayBtn: true }).on('changeDate', function (ev) { $('#TravelEndDate').datetimepicker('setEndDate', '07/08/2017'); }); $("#TravelEndDate").datetimepicker({ format: "dd/mm/yyyy HH:ii P", showMeridian: true, autoclose: true, todayBtn: true }).on('changeDate', function (ev) {
});
hi, i have a question want discuss with u , i hope don't pick after today'time.How can i do it?
$("#TravelStartDate").datetimepicker({ format: "dd/mm/yyyy HH:ii P", showMeridian: true, autoclose: true, todayBtn: true }).on('changeDate', function (ev) { $('#TravelEndDate').datetimepicker('setEndDate', '07/08/2017'); }); $("#TravelEndDate").datetimepicker({ format: "dd/mm/yyyy HH:ii P", showMeridian: true, autoclose: true, todayBtn: true }).on('changeDate', function (ev) {