推荐一个处理日期和时间的JS日历小部件? [英] Recommend a JS calendar widget that handles both date and time?
问题描述
我正在使用一个Web应用程序,用户需要输入日期和时间。我以前使用过这个日历小部件,它工作正常:
I'm working on a Web app where users need to input a date and time. I've used this calendar widget before and it works fine:
http://www.dynarch.com/projects/calendar/
但是,自2005年以来它还没有更新。 m想知道有没有人知道更好的一个。
However, it hasn't been updated since 2005. I'm wondering if anyone knows of a better one.
jQuery UI中的日历不处理时间。只有日期。我需要一些东西,让用户使用一个控件输入日期和时间。
The calendar in jQuery UI doesn't handle times. Only dates. I need something that will let the user input both date and time using one control.
推荐答案
我不知道任何一个小部件这两个日期和时间都很好。我看到的任何组合的小部件过于复杂和混乱。
I am not aware of any single widget which does both date and time well. Any combined widget I've seen is overly complex and confusing.
然而,我经常使用独立的日期和时间小部件: ClockPick 和 datePicker 。两者都是 jQuery 插件,在浏览器之间运行良好,而且非常容易自定义。
There are however independent date and time widgets which I use frequently: ClockPick and datePicker. Both are jQuery plugins, work great across browsers, and are very easy to customize.
这篇关于推荐一个处理日期和时间的JS日历小部件?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!