0

I want to use the Timepicker with grid for time as given in the slider example:

$('#slider_example_1').timepicker({
hourGrid: 4,
minuteGrid: 10,
timeFormat: 'hh:mm tt'
});

But this is not working.

Can someone please provide working JFiddle for it. I am new to Javascript and CSS and so not able to figure out the issue.

I found this fiddle but timepicker part is not working. However, above example from the Trent's website works.

1

1 Answer 1

1

The issue is because the jquery plugin url is no longer available. Check the working jsfiddle

Following is wrong

http://trentrichardson.com/examples/timepicker/js/jquery-ui-timepicker-addon.js

Update the URL to

http://trentrichardson.com/examples/timepicker/jquery-ui-timepicker-addon.js

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Not the answer you're looking for? Browse other questions tagged or ask your own question.