Load javascript file after clicking filter
-
Hi, after clicking a filter I need a javascript file to load, because when I click the filter the page/products reload(s) and the hover effect of the products is gone.
I’ve tried it using this script, but it isn’t working:
jQuery(document).ready(function($) {
$(“.wpf_item li”).click(function(){
$.getScript(“https://juneandcharlie.nl/wp-content/plugins/ddprodm/build/ragnar/js/ragnar-shop-landing-v2/ragnarProductsOlivia.js?ver=6.2.2”);
});
});The page I need help with: [log in to see the link]
Viewing 1 replies (of 1 total)
Viewing 1 replies (of 1 total)
- The topic ‘Load javascript file after clicking filter’ is closed to new replies.