This first set of datepickers use the automatic attachment method. Remember, the goal is to emulate HTML5 date inputs for older browsers, not replace native datepickers in newer browsers! That means that if your browsers supports native date inputs, you will see those, and this demo page will not help you much. :) To see the code in action, try IE 6 or IE 11. :P
Date picker #1:Lorem ipsum dolor sit amet, consectetur adipiscing elit,
sed do eiusmod tempor incididunt ut labore et dolore magna aliqua. Ut enim ad minim veniam, quis nostrud exercitation ullamco laboris nisi ut aliquip ex ea commodo consequat. Duis aute irure dolor in reprehenderit in voluptate velit esse cillum dolore eu fugiat nulla pariatur. Excepteur sint occaecat cupidatat non proident, sunt in culpa qui officia deserunt mollit anim id est laborum.
The datepicker above uses the manual attachment method (manually inserting an onclick handler on the link). This is included because it was in the original version (it was the only way) and it may still be useful for those who wish to support REALLY old Firefox browsers (e.g. 3.6). If your browser supports native date inputs (e.g. Firefox 57, Edge, or Chrome 20+), the '...' button will not function, as the datepicker code is not automatically loaded on those browsers.