A markup controlled date picker without having to write any JavaScript. All you have to do is place a data attribute on an :input element.
the date format defaults to dd/mm/yyyy
<input type="text" data-sg-date-picker="">
use a custom date format *must be compliant with jQuery UI's dateFormat
<input type="text" data-sg-date-picker='{ "dateFormat":"yy/mm/dd" }'>
<script src="sg-date-picker.min.js"></script>
- jQuery 1.7.2
- jQuery UI 1.8.21 / DatePicker
- jQuery UI theme