jQuery 日期/时间选择器 [英] jQuery date/time picker
问题描述
我一直在寻找一个可以处理日期和时间的不错的 jQuery 插件.核心 UI DatePicker
很棒,但不幸的是,我也需要花点时间.
I've been looking around for a decent jQuery plugin that can handle both dates and times. The core UI DatePicker
is great, but unfortunately I need to be able to take time in as well.
我发现了一些让 DatePicker 与时俱进的技巧,但它们看起来都很不雅观,而且 Google 也没有发现任何好东西.
I've found a few hacks for the DatePicker to work with times, but they all seem pretty inelegant and Google isn't turning up anything nice.
是否有一个很好的 jQuery 插件可以在具有可用界面的单个 UI 控件中选择日期和时间?
Is there a good jQuery plugin for selecting dates and times in a single UI control with a usable interface?
推荐答案
迄今为止最好和最简单的 DateTime 选择器选项是 http://trentrichardson.com/examples/timepicker/.
By far the nicest and simplest DateTime picker option is http://trentrichardson.com/examples/timepicker/.
它是 jQuery UI Datepicker 的扩展,因此它将支持相同的主题,并且以非常相似的方式、相似的语法等工作.这应该与 jQuery UI imo 打包在一起.
It is an extension of the jQuery UI Datepicker so it will support the same themes as well it works very much the same way, similar syntax, etc. This should be packaged with the jQuery UI imo.
这篇关于jQuery 日期/时间选择器的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!