jQuery DOM element not defined AFTER page load? (Magento 2)
I am working in Magento 2 with jQuery and I have the following code: require(["jquery"], function($) { var productCarousel = $('.product-carousel-slideshow'); console.log(productCarousel); } The element logs to the console as expected, however once the page is loaded I can't do…