A simple javascript datepicker with no dependencies, written by Josh Salverda. Compatible with browsers as grizzled as IE6.
You can find a demo here.
Install with Bower:
bower install --save datepickr
Alternatively, download datepickr.js
or datepickr.min.js
and datepickr.css
to your project.
Include them in your HTML:
<script type="text/javascript" src="datepickr.js"></script>
<link rel="stylesheet" type="text/css" href="datepickr.css">
Set up an input where you want a datepicker and initialize:
<input id="dateID" type="text"></input>
<script>new datepickr('dateID')</script>
Configure with options from the Google Code project documentation