Really simple, powerful and customizable datepicker.
Author - Nazar Mokrynskyi
Based on DatePicker by Stefan Petre
It is very small:
- 16.7 KiB minified JavaScript (4.7 KiB gzip)
- 2.2 KiB minified CSS (703 B gzip)
- 0 KiB images
Browser support:
- IE 10+
- Opera 12.1+
- Latest versions of Firefox and Chrome
You need only 2 files: js/jquery.pickmeup.min.js
and css/pickmeup.min.css
.
Then you can apply datepicker to any element:
$('.date').pickmeup();
Global default settings are stored in $.pickmeup
They can be redefined during initialization:
$('.date').pickmeup({
format : 'Y-m-d'
});
or with data-attributes with pmu-
prefix:
<div class="date" data-pmu-format="Y-m-d"></div>