最好的jQuery日期插件为最差的日期(公元前1000年 - 今天) [英] Best jQuery Date Plugin for Dates of Extreme Difference (1000+ BC - Today)

查看:114
本文介绍了最好的jQuery日期插件为最差的日期(公元前1000年 - 今天)的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我正在开发一个项目,在日期选择器上需要很大的灵活性。用户可能会在几千年前插入日期,以及日期到今天为止。典型的日期选择器非常适合在相互之间的几年内选择日期,但是选择日期差异并不算太大。

I'm working on a project right now that requires great flexibility on the date-selector. Users may insert dates several thousands of years ago, as well as dates all the way up to today. Typical date-selectors are great for selecting dates within a few years from eachother, but not too well when it comes to selecting dates of vast differences.

有人看到一个插件那会更容易处理这个要求?也许在这里需要老式的手记。

Has anybody seen a plugin that would handle this requirement easier? Perhaps old-fashion hand-entry will be required here.

推荐答案

在对一个应用程序进行一些可用性研究后,很多日期条目,对我的用户最有效的是蒙版插件,其中输入文本框具有 __ / __ / ____ 。我使用了这个出色的蒙版输入插件。如果您只需要输入年份,则只需设置一个4位数的模式。

after doing some usability research for an application to manage a kindergarden involving a lot of date entries, what works best for my users was the masked plugin, where the input textfield has __/__/____ . I used this excellent Masked Input plugin. If you only need to enter the year, then simply set a 4 digit pattern.

这篇关于最好的jQuery日期插件为最差的日期(公元前1000年 - 今天)的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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