On Screwfix.com we have a popup that shows when a customer clicks the delivery or Click and collect buttons.
When an add to basket button is clicked JS kicks in and shows the pop up for that product, I want to be able to tag the buttons within this modal, however, when i create a jQuery onHandler it does not fire when that class is clicked.... is this because the markup is not in the DOM until the div is clicked and JS shows the modal?
How can I tag the different elements?
Hello @jhooper. Great question. Perhaps this post can help?
Let me know!