I am trying to get Twitter timestick Bootstrap to work. My code is below:
$('.timepicker').timepicker({ // defaultTime: 'current', defaultTime: $(this).val(), minuteStep: 1, disableFocus: true, template: 'dropdown' });
The default time is displayed correctly from the database, but when I click on this field to try to change the time during which the time counter is empty. If I try to move the hour or minute inputs, they display "NaN". AM / PM input is displayed correctly after moving. Is there a setting that I need to configure for it to work? Thanks!
source share