I am trying to use pickaday on dynamically generated input element. However it initiates infinite loop making the page unresponsive. Here is my code
$(document).on('focus', '.slcDate', function() {new Pickaday({field:this,})})
Thanks in advance
Blancer.com Tutorials and projects
Freelance Projects, Design and Programming Tutorials
I am trying to use pickaday on dynamically generated input element. However it initiates infinite loop making the page unresponsive. Here is my code
$(document).on('focus', '.slcDate', function() {new Pickaday({field:this,})})
Thanks in advance