I am trying to do this:
$(".someClass").datepicker();
But the DOM or the with this class gets dynamically inserted into the page when someone clicks on a button, so this is the reason I’m guessing the above code isn’t working.
How can I get this to work with newly inserted elements into the page AFTER it loads?
1 Answer