jQuery-Timepicker-Addon
jQuery-Timepicker-Addon copied to clipboard
Can't change values once initialized
I have to change stepInterval, minDate, hourMax dynamically, but not able to override the initial values.
I have tried
$('#time').datetimepicker("option", "stepMinute", 30 ); $('#time').datetimepicker("option", "hourMax", 18 );
and also tried re-initializing this:
$('#time').datetimepicker({ timeFormat: "hh:mm tt", dateFormat: 'dd M yy', stepMinute: 30, hourMax: 17, minDate: new Date() });