Load Pop-up with JavaScript when I click a link
-
Hello, I’ve been trying to make a single pop-up, but changing the information in it dynamically using JavaScript depending on the clicked link. I realized that for this to work I have to load the pop-up when the link is clicked, not when loading the page. Can this be done? Also I’ve been having trouble triggering the pop-up from the JavaScript file, I tried the following method but I failed implementing it.
jQuery('#popmake-1').popmake('open', callback);
I would be very thankful if you could help me or at least let me know this is not possible, so I can work on another solution. Thanks!
- The topic ‘Load Pop-up with JavaScript when I click a link’ is closed to new replies.