Adding Dynamic Content to Popup
-
I’d like to be able to pass a value to the pop-up dynamically via a click event.
<a class="sg-popup-id-1" data-popup-id="1" title="Some Title for the Popup Heading">Click me!</a>
The idea here is that the value for “title” could then appear in the popup inside a heading tag.
I assume I just need a bit of Javascript in the popup content that listens for the title somehow, but I don’t quite know where to begin and would ;love some help.
Viewing 2 replies - 1 through 2 (of 2 total)
Viewing 2 replies - 1 through 2 (of 2 total)
- The topic ‘Adding Dynamic Content to Popup’ is closed to new replies.