• Resolved jaltenbernd

    (@jaltenbernd)


    Is there way to open the modal from JavaScript? For example, I tried using window.location and window.location.href to the URL your plugin creates and nothing happens.

    I even created an anchor tag like Test

    And then triggered it: $(“#test”).trigger(“click”) and $(“#test).click() and those didn’t work either.

    What am I missing?

Viewing 1 replies (of 1 total)
  • Plugin Author sukiwp

    (@sukiwp)

    Hi,

    We never tested it using manual trigger via JS. But you have to make sure to call that trigger after all Elementor scripts are initiated. Perhaps using the window load event.

    Additionally, you should define the proper display conditions, otherwise, the popup won’t appear.

    Regards

Viewing 1 replies (of 1 total)
  • The topic ‘Open via Javascript’ is closed to new replies.