Close pop-up with custom button
-
I have divi template, and i use Divi Popup Maker Extension plugin for create popup design.
I create a button, with a link to #finally-page but dont close popup.I tried to add to divi head:
<script>
jQuery(function ($) {
$(document).ready(function() {
$(‘.button-class’).on(‘click’,function(e) {
jQuery(‘#id-popup’).popmake(‘close’);
});
});
});
</script>But dont work.
Can anybody help me?
Sorry for my english.
Viewing 3 replies - 1 through 3 (of 3 total)
Viewing 3 replies - 1 through 3 (of 3 total)
The topic ‘Close pop-up with custom button’ is closed to new replies.