How can I setup a thank you popup with HTML template?

In order to setup a thank you popup with HTML template you need to write a javascript code for this purpose and insert it to HTML editor. When its done, you can edit it with CSS in the same way as the popup itself.
 
To create a thank you popup use the following example code:

<div id="first-popup">
...
    <a class="next-button" href="#">Next step</a>
...
</div>


<div id="second-popup" style="display: none;">
...
</div>

<script>
    $(function () {
        $('.next-button').on('click', function(event) {
             event.preventDefault();
             $('#first-popup').hide();
            $('#second-popup').show();
        });
    });
</script>

Have more questions? Submit a request

Comments

Powered by Zendesk