How to install datedropper
Get datedropper and you will then be able to download datedropper source file for a direct integration into your HTML.
How to initialize datedropper
Once the installation is complete, initialize datedropper on elements that will trigger the datepicker excecution.
Generally datedropper is initialized on input fields but you can specify any kind of selector (e.g. a button, a link etc.).
Let's see how to define the datepicker element on which datedropper has to be initialized.
In this example we will convert all simple input tag with type attribute set to "date" to usefull datepicker:
<!-- datedropper init -->
Make sure you to initialize datedropper after the element is already on page or when page is loaded.