An easy to use pure js, css and html datepicker.
The datepicker is now made to pick a range of dates but can easily be changed to pick only one date.
Date format: YYYY-MM-DD
Functionalities
- Pick a range of dates
- Disabled certain dates
Coming Functionalities
- Pick single date
- higlight current date
- change date format
- more easy to use implementation
Usage:
1) add
<link rel="stylesheet" type="text/css" href="datepicker.css">
<script src="javscript.js"> </script >
in your html or php file
2) copy and paste the datepicker.html file in your code where you want your datepicker.
3) Change the dates in unavailable in the javscript file. These dates can not be selected.