Question

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?

Was it helpful?

Solution

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" />

OTHER TIPS

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

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.

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

Licensed under: CC-BY-SA with attribution
Not affiliated with StackOverflow
scroll top