Simple date picker, no dependecies from other libraries.
How to use?
Just add class name "datepicker" to selected HMTL
input element(s). That's it.
Let's try to select some date:
TODO and Problems
- Navigation with keyboard doesn't work yet.
- Setting tabindex should be more investigated. Setting just from 0 to up is not the best solution.
- Optimizing code.
- Adding more comments inside the code
Note: script code passing JSLint.