close speedo popup programmatically
Hi,
I am using below code to view SpeedPopup and it's working fine. On address.php, I have a button and I want to close the popup when button is clicked using jquery.
I tried:
- var speedoInstance = $(this).speedoPopup();
- speedoInstance.hidePopup();
but did not work.
How can I do his please?
this is how I am viewing the popup.
- <a href="address.php" class="speedo-popup" data-speedo-options='{"caption": "Delivery Address", "effectIn": "fade", "effectOut": "none", "width": 450, "height": 450, "theme": "metro", "draggable": false}'>New Address</a>
Thanks,
Jassim Rahma