Support » Plugin: Popup anything on click » Open on page load

  • Resolved idaryl

    (@idaryl)


    Is there a way to open the modal window when a page is loaded – I tried this, with the popup id #57; but it does not work…

    Javascript

    window.onload=function(){
      document.getElementById("57").click();
    };

    Jquery

    $(document).ready(function() {
         document.getElementById('57').click(); 
    });
Viewing 1 replies (of 1 total)
Viewing 1 replies (of 1 total)
  • The topic ‘Open on page load’ is closed to new replies.