So I've searched around and I couldn't find a definitive answer. I want my iframe to have a close button so that users can click it instead of going with the ESC key to close the SimpleModal container.
I've tried several things, but it doesn't seem like anything is being passed into the iframe to be able to close the container.
Try the following:
parent.$.modal.close();
source
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With