Craig Shearer
Craig Shearer

Reputation: 14521

Recommended jquery widget for time entry?

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

Answers (2)

Levi Kovacs
Levi Kovacs

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

Diosney
Diosney

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

Related Questions