Viewing 3 replies - 1 through 3 (of 3 total)
  • Plugin Contributor Popup Builder Team

    (@popup-by-sygnoos)

    Dear @ursaminor,

    If you have selected a particular popup you want to be called via AJAX, you can paste the following code into your js file:
    sgPoupFrontendObj = new SGPopup();
    sgPoupFrontendObj.showPopup(popupId,true);
    Replace the popup id number with yours.

    So the popup will open up when AJAX is completed.
    For more info you can contact us via our email address, if you need additional support.
    support@popup-builder.com

    Best regards,
    Sygnoos Team.

    Thread Starter Ursa Minor

    (@ursaminor)

    Hi Sygnoos Team

    Thanks for your response. For the benefit of anyone searching this in the future, it turned out the function I needed was:

    SGPopup.prototype.init

    Once I added that it worked perfectly.

    Cheers,
    Benjamin

    Plugin Contributor Popup Builder Team

    (@popup-by-sygnoos)

    Dear @ursaminor,

    Happy you found a solution!
    Feel free if you have any further assistance!

    Best regards,
    Sygnoos Team.

Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘JS Function from AJAX call trigger?’ is closed to new replies.