Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

SimpleModal - closing iframe with close button

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.

like image 929
Dusan Avatar asked Dec 13 '22 17:12

Dusan


1 Answers

Try the following:

parent.$.modal.close();

source

like image 139
Eric Martin Avatar answered Dec 28 '22 10:12

Eric Martin