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 日历小部件?


基础教程推荐
- 在 contenteditable 中精确拖放 2022-01-01
- npm start 错误与 create-react-app 2022-01-01
- Fabric JS绘制具有活动形状的多边形 2022-01-01
- Bootstrap 模态出现在背景下 2022-01-01
- 如何添加到目前为止的天数? 2022-01-01
- 检查 HTML5 拖放文件类型 2022-01-01
- Bokeh Div文本对齐 2022-01-01
- 即使用户允许,Gmail 也会隐藏外部电子邮件图片 2022-01-01
- fetch 是否支持原生多文件上传? 2022-01-01
- 原生拖动事件后如何获取 mouseup 事件? 2022-01-01