Binding onClick event with the pop-up
You can create a Pop-Up and bind it with an onClick event for a button or link or any valid HTML element which can run jQuery click events. To create a pop-up that shows up on click on a button or link follow the steps below:
- When you create or edit a pop-up, you can assign a CSS .class-name or #id-name under bind onClick event. Once you specify a valid class name or id, pop-up will only show up once a user click on a link or button which has that class name or id name assigned.
- To create a link or button, add class=”class-name” or id=”id-name” to the HTML element and you are done.