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
Post a Comment