• Resolved amritanshu

    (@monk_amritanshu)


    Thanks for the great plugin .

    I have attached the widget in exit popup.

    Every thing is good. But i want to close the popup when user is successfully suscribed.

    I tried following code in line no 83 of file `email-subscribers/widget/es-widget-page.js
    `

    document.getElementById("es_msg_pg").innerHTML = "Subscribed successfully."; document.getElementById("es_txt_email_pg").value=""; document.getElementByClassName("popup-overlay").style.display = 'none';

    But it doesnt seem to work.
    Can you help me out with

    NOTE initially popup-overlay display is set to none to initially hide the popup

    https://www.ads-software.com/plugins/email-subscribers/

Viewing 1 replies (of 1 total)
Viewing 1 replies (of 1 total)
  • The topic ‘Use the newsletter response to hide the popup’ is closed to new replies.