Reputation: 97
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?
Upvotes: 3
Views: 3156
Reputation:
$(function() {
$('#xyz').timepicker({
'timeFormat': 'H:i',
defaultTime: 'current',
step: 1,
disableFocus: true,
template: 'dropdown'});
});
Upvotes: 2