• Hello,

    In the website url I included, The specified section with ID = “Car-Rims-Section”
    has 4 buttons where each one represents a car rim brand name.

    My problem is that if I press on of the brand names then javascript will run to fetch and show them to the screen, which is what I speculate breaks the popup functionality.

    **NOTE**
    The popup is embedded in the ‘Ask Us’ text which can be found under each product.

    The page I need help with: [log in to see the link]

Viewing 1 replies (of 1 total)
  • Hi, I cannot find any “Ask Us” links but yes it sounds like the new links are loaded after the script has scanned for candidate media links.

    The plugin does have an event that will cause it to “rescan” for new links. The event can be triggered with jQuery(document).trigger('post-load')

    You could try something like this to integrate it with your theme’s product tabs:

    
    <script>jQuery(document).on('wdProductsTabsLoaded', function(){ jQuery(document).trigger('post-load'); });</script>
    

    Place it in a text widget or as custom footer script (maybe without the script tags) if your theme has that option…

Viewing 1 replies (of 1 total)
  • The topic ‘Pop Up wont work on buttons that are generated after page load’ is closed to new replies.