Is it possible to trigger a popup via js on my page? For

Is it possible to trigger a popup via js on my page? For example, I've got a popup that displays the MailChimp signup form. I'd also like to pop that same popup when the use clicks the "Join Our Mailing List" link.

  • Michelle Shull
    • DEV MAN’s Apprentice

    Hi there, colind!

    You'll just need to find the CSS selector for that link, then add it to the condition for the javascript onClick event.

    To find the selector, right click the element in your browser and select "inspect element." That will give you the unique selector, which you can then enter into the field as shown below.

    Thanks for your question!

    Hope this helps!

Thank NAME, for their help.

Let NAME know exactly why they deserved these points.

Gift a custom amount of points.