jQuery: datepicker alternative

依然范特西╮ 提交于 2019-12-20 10:00:48

问题


Is there a better, smaller alternative to the jQuery datepicker? The ui.datepicker.js has app. 70kb which is pretty huge imo. Could it be compressed?


回答1:


you don't need the whole ui library just http://jqueryui.com/download disable the other stuff or you can use google ajax api cdn. the best alternative to jui datepicker is the html5 datepicker with is only supported by opera so far <input type="datetime-local" />




回答2:


The best alternative I know is Kelvin luck's datepicker.




回答3:


It's not smaller in terms of file size, but arguably "better" is the Any+Time™ DatePicker/TimePicker AJAX Calendar Widget, which is probably the fastest, easiest and most feature-laden date/time picker available. It supports countless formats, custom labels & styles, jQuery UI themes, keyboard accessibility and even time zones! And best of all, it's free under the CC-BY-NC-SA license.




回答4:


Maybe something like that: Alternate Date Picker - completely different approach - more like proof of concept, then actual solution.



来源:https://stackoverflow.com/questions/2037011/jquery-datepicker-alternative

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!