pickadate.js
pickadate.js copied to clipboard
how attach pickdate to a dynamically generated fields
Hi, someone knows how to attach this plugin to all dynamically generated fields. i have a form with 1 default field, but there is a button to add another field. this field is generated dinamycally, for the first field it works, but for the next fields datepicker does not work.
regards
See https://davidwalsh.name/detect-node-insertion and https://github.com/DanielRuf/noopener/blob/master/src/index.js for a possible solution.