jQuery日期/时间选择器 [英] jQuery date/time picker

查看:159
本文介绍了jQuery日期/时间选择器的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我一直在寻找一个可以处理日期和时间的体面的jQuery插件。核心UI DatePicker 很棒,但不幸的是,我需要花费时间。



我发现几个黑客为DatePicker与时代合作,但他们都看起来很不起眼,谷歌没有什么好东西。



有没有一个很好的jQuery

解决方案

到目前为止,最好最简单的DateTime选择器选项 http://trentrichardson.com/examples/timepicker/



它是jQuery UI Datepicker的一个扩展,所以它将支持相同的主题,它的工作方式非常相同,语法类似。这应该与jQuery UI imo打包。 p>

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.

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.

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

解决方案

By far the nicest and simplest DateTime picker option is 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日期/时间选择器的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆