I know there are plenty of date pickers out there, and I've tried/looked at quite a few however they were all either bloated or didn't quite have the features I needed for a site I'm working on.
Plus I needed an excuse to learn to write jQuery plugins and learn a few things along the way. :)
Some details and features about the plugin:
- lightweight (3.5KB compressed JS and 1KB compressed CSS)
- forward and back navigation
- current date highlight
- restricting selection of dates outside of a range
- restricting selection of dates beyond N-days from start date
- restricting forward / backwards month navigation
- individual styles per date picker (in case you have multiples on one page)
Downloads, examples, and instructions available at: http://code.gautamlad.com/glDatePicker/
Complete project source available at: https://github.com/glad/glDatePicker/
Appreciate all criticism and suggestion on the code.
Enjoy! :)