Welcome to OGeek Q&A Community for programmer and developer-Open, Learning and Share
Welcome To Ask or Share your Answers For Others

Categories

0 votes
394 views
in Technique[技术] by (71.8m points)

javascript - jQuery日期/时间选择器(jQuery date/time picker [closed])

I've been looking around for a decent jQuery plugin that can handle both dates and times.

(我一直在寻找一个可以处理日期和时间的不错的jQuery插件。)

The core UI DatePicker is great, but unfortunately I need to be able to take time in as well.

(核心的UI DatePicker很棒,但是不幸的是我也需要花些时间。)

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.

(我发现一些与DatePicker配合使用的骇客,但它们似乎都不太雅致,Google并没有发现任何不错的东西。)

Is there a good jQuery plugin for selecting dates and times in a single UI control with a usable interface?

(是否有一个不错的jQuery插件,可以在具有可用界面的单个UI控件中选择日期和时间?)

  ask by Chelsea translate from so

与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…
Welcome To Ask or Share your Answers For Others

1 Reply

0 votes
by (71.8m points)

By far the nicest and simplest DateTime picker option is http://trentrichardson.com/examples/timepicker/ .

(迄今为止,最好的和最简单的DateTime选择器选项是http://trentrichardson.com/examples/timepicker/ 。)

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 UI Datepicker的扩展,因此它将支持相同的主题,并且以相同的方式,相似的语法等工作。这应该与jQuery UI imo打包在一起。)


与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…
OGeek|极客中国-欢迎来到极客的世界,一个免费开放的程序员编程交流平台!开放,进步,分享!让技术改变生活,让极客改变未来! Welcome to OGeek Q&A Community for programmer and developer-Open, Learning and Share
Click Here to Ask a Question

...