A lightweight, customizable, bootstraps-friendly jQuery plugin to properly format dates in inputs and verify that the date is valid.
After downloading datable, just include the file right above the closing <body>
tag in your HTML.
<script type="text/javascript" src="datable.min.js"></script>
Then initialize the plugin:
$.datable('init');
That's all!
If you want to clear ALL the datable fields:
$.datable('clearAll');
And if you want to deinitialize the plugin (this does not clear the values):
$.datable('deinit');