• Resolved madrigal000

    (@madrigal000)


    Hi!,
    Is there any way to activate the popup with JQuery?, something like “$(‘popup-17’).open()”?.

    Thanks in advance.

Viewing 2 replies - 1 through 2 (of 2 total)
  • Dear @madrigal000,

    You can try to achieve it like this:
    var sgPoupFrontendObj = new SGPopup();
    sgPoupFrontendObj.popupOpenById(1)

    And, add the following in your page content to make the popup data load correctly:
    [sg_popup id=”1″ event=”click”]<input type=”hidden”>[/sg_popup]

    Thread Starter madrigal000

    (@madrigal000)

    Nice! it works!, just an advice, if anyone wants to use it replace the id value for the id of the popup to use… it took me like 10 minutes to understand…>_<

    [sg_popup id=”id of your popup” event=”click”]<input type=”hidden”>[/sg_popup]

    Thank You!

    • This reply was modified 8 years, 1 month ago by madrigal000.
Viewing 2 replies - 1 through 2 (of 2 total)

The topic ‘JQuery Trigger’ is closed to new replies.