I'm looking to fill a text input with a time that the user can choose in 15 minute intervals. I know there are a few plugins out there. I was wondering if there was any “industry standard” plugin, or strong objective reasons to prefer a particular one in common scenarios.
相关问题
- Is there a limit to how many levels you can nest i
- How to toggle on Order in ReactJS
- How to fix IE ClearType + jQuery opacity problem i
- void before promise syntax
- jQuery add and remove delay
Whilst there isn't a standard one, I've been using a jQuery plugin from Keith Wood. Unlike some, this degrades to a text box (that you can still type in, whilst still performing validation), and can also be used with a mouse if you're so inclined.
I tried a ton of timepicker and was not satisfied so I wrote [yet] another one. I think it works well. Also it is inspired from the datepicker so it looks like standard jQuery UI stuff.
The default minute increments is at 5 and can be set to 15 in the options.
http://fgelinas.com/code/timepicker
Try this great lib - http://code.google.com/p/mobiscroll/
Demo - http://demo.mobiscroll.com/
I have been using Trent Richardson's timepicker library and have found it to be great. It is a very popular one too, by number of downloads.
Check out Maxime Haineault's jQuery.timepicker. Pretty cool, IMHO...
I couldn't find a plugin that did what I wanted (i.e., multi-column autocomplete combined with input masking for time), so I wrote MenuOptions
What it looks like