I need to change minDate of jQuery's datetimepicker
. Currently the value for the minDate is null on the .change() method.
I am currently using the code below:
jQuery('#field_bvk123').datetimepicker({
onSelect: function(department_date)
{
$('#field_jv1rv7').datetimepicker('option', minDate, department_date);
}
});
Can anyone assist me here??
Title says
$("#datetimepicker6").on("dp.change", function (e) {
$('#datetimepicker7').data("DateTimePicker").minDate(e.date);
});
$("#datetimepicker7").on("dp.change", function (e) {
$('#datetimepicker6').data("DateTimePicker").maxDate(e.date);
});
taken from documentations https://eonasdan.github.io/bootstrap-datetimepicker/ under linked pickers.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With