Using Jquery spinner with seconds

Hi there,
Is there a format option in Jquery spinner where I can get a seconds column as well. I tried 'HH:mm:ss' but it doesn't seem to work. Basically, I want the user to enter time in HH:MM:SS format in an input field.  Is there a better solutions.  Sorry, just learning javascript. Thank you


 $('#FromTimePickerID').spinner({
            format : 'HH:mm'
        });
ambuliAsked:
Who is Participating?
I wear a lot of hats...

"The solutions and answers provided on Experts Exchange have been extremely helpful to me over the last few years. I wear a lot of hats - Developer, Database Administrator, Help Desk, etc., so I know a lot of things but not a lot about one thing. Experts Exchange gives me answers from people who do know a lot about one thing, in a easy to use platform." -Todd S.

hieloCommented:
Do you mean `datetimepicker`? If so, try format:'H:i:s' instead.  Otherwise, provide a link to the plugin you are referring to.
0
ambuliAuthor Commented:
https://jqueryui.com/spinner/#time
This is the one I am using.
0
ambuliAuthor Commented:
something similar to the solution posted here.
http://stackoverflow.com/questions/11803946/how-to-restrict-user-input-of-24-format-time-into-input-field
$("#time").inputmask("h:s",{ "placeholder": "hh/mm" });

But this does not work.  I am getting an exception saying inputmask is not a function.
0
ambuliAuthor Commented:
The above link I posted does work.  I did not realize the solution is based on the jq plugin. inputmask.  https://github.com/RobinHerbots/jquery.inputmask
This solved my problem
0

Experts Exchange Solution brought to you by

Your issues matter to us.

Facing a tech roadblock? Get the help and guidance you need from experienced professionals who care. Ask your question anytime, anywhere, with no hassle.

Start your 7-day free trial
It's more than this solution.Get answers and train to solve all your tech problems - anytime, anywhere.Try it for free Edge Out The Competitionfor your dream job with proven skills and certifications.Get started today Stand Outas the employee with proven skills.Start learning today for free Move Your Career Forwardwith certification training in the latest technologies.Start your trial today
JavaScript

From novice to tech pro — start learning today.