Reputation: 14521
I have a need for a time entry widget for lengths of time but it needs to support > 24 hours entry i.e. not be constrained to a maximum of 23:59.
I want to be able to enter values up to 99:59 - i.e. 99 hours, 59 minutes.
I've seen and used jquery.timeentry.js which is excellent, but is based on a Date object which won't handle my requirements.
Are there any jquery plugins which would handle my requirements?
Upvotes: 2
Views: 2790
Reputation: 1159
If it's for usage on a touch device, like a smartphone or tablet, take a look at the Mobiscroll Timespan
It is a wheel-type scrollable control, with multiple wheels.
Upvotes: 1
Reputation: 10580
You can give a try to http://trentrichardson.com/examples/timepicker/.
See the Set the time range example.
I set an example for you at jsfiddle. You can adjust the hourMax and hourMin values to fit your requirements. For a complete reference of the timepicker options see the link above.
Upvotes: 3