jQuery UI Spinner displaying in hours and minutes -


i need build spinner allows increment/decrement 15 minutes (text input disabled) in format of:

2 hours 15 minutes

increment

2 hours 30 minutes

the related question's top answer seems depreciated (.change doesn't trigger anything). other answers focused on question's particular use case , hard adapt issue.

i appreciate possible

here code requirement.this simple place step:15 increment min spinner 15 min.....happy coding

 <input id="spinner" /> <script>     $(function() {         $('#spinner').spinner({             min: 2,             max: 20,             step: 15         });     }); </script> 

Comments

Popular posts from this blog

angular - Is it possible to get native element for formControl? -

unity3d - Rotate an object to face an opposite direction -

javascript - Why jQuery Select box change event is now working? -