Recommend a JS calendar widget that handles both date and time?(推荐一个同时处理日期和时间的 JS 日历小部件?)
问题描述
我正在开发一个用户需要输入日期和时间的 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 年以来就没有更新过.我想知道是否有人知道更好的版本.
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 日历小部件?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持编程学习网!
本文标题为:推荐一个同时处理日期和时间的 JS 日历小部件?


基础教程推荐
- 为什么我在 Vue.js 中得到 ERR_CONNECTION_TIMED_OUT? 2022-01-01
- 如何使用sencha Touch2在单页中显示列表和其他标签 2022-01-01
- jQuery File Upload - 如何识别所有文件何时上传 2022-01-01
- 如何使用 CSS 显示和隐藏 div? 2022-01-01
- 什么是不使用 jQuery 的经验技术原因? 2022-01-01
- 如何在特定日期之前获取消息? 2022-01-01
- Node.js 有没有好的索引/搜索引擎? 2022-01-01
- Javascript 在多个元素上单击事件侦听器并获取目标 2022-01-01
- WatchKit 支持 html 吗?有没有像 UIWebview 这样的控制器? 2022-01-01
- 每次设置弹出窗口的焦点 2022-01-01