A simple date picker popup, where the user can select a date and set it to a html element
Just include "date-picker.js" in your html page
It creates a Date_picker object called date_picker, all you need to do is to assign an onclick event to an element calling the function "date_picker.open()" with the output element as a parameter, if the output element is the same one you signed the event you can just pass "this" as the parameter
<input type="text" onclick="date_picker.open(this)">
You can see examples and different themes at https://atlasncz.github.io/Native-JS-date-picker/
- Renã Souza - AtlazNCz