时间输入的推荐jquery小部件? [英] Recommended jquery widget for time entry?

查看:95
本文介绍了时间输入的推荐jquery小部件?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我需要时间输入小部件的时间长度,但它需要支持> 24小时输入,即不限制为最大23:59。

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.

我希望能够输入高达99:59的值 - 即99小时59分钟。

I want to be able to enter values up to 99:59 - i.e. 99 hours, 59 minutes.

我见过并使用过jquery.timeentry.js很好,但基于Date对象,它不能满足我的要求。

I've seen and used jquery.timeentry.js which is excellent, but is based on a Date object which won't handle my requirements.

是否有任何jquery插件可以满足我的要求?

Are there any jquery plugins which would handle my requirements?

推荐答案

您可以尝试 http ://trentrichardson.com/examples/timepicker/

请参阅设置时间范围示例。

我在 jsfiddle 。您可以调整hourMax和hourMin值以满足您的要求。有关时间戳选项的完整参考,请参阅上面的链接

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.

这篇关于时间输入的推荐jquery小部件?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆