Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

timepicker adjust minute step

I used http://jonthornton.github.com/jquery-timepicker/ timepicker. ITs half hour by half hour. I want to make a timepicker by 1 minute. I write script in my php file. But nothing happened.

Here is my script code:

$(function() {
        $('#xyz').timepicker({ 
        'timeFormat': 'H:i',
        defaultTime: 'current',
        minuteStep: 1,
        disableFocus: true,
        template: 'dropdown'});

        });

What should I do?

like image 407
catcher Avatar asked Jan 30 '26 01:01

catcher


1 Answers

$(function() {
    $('#xyz').timepicker({ 
    'timeFormat': 'H:i',
    defaultTime: 'current',
    step: 1,
    disableFocus: true,
    template: 'dropdown'});

    });

Donate For Us

If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!