I use SimpleModal on a little work I'm working on to open an iFrame and then close it. Says what is posted here if I have problems, so here I am.
I am having problems with a simple modular plugin for jquery when I go to close the popup, but only on windows with safari. It works in IE / FF / Chrome / Opera in a window and works in FF / Safari on a Mac, and I tested this on several Macs and multiple windows.
after calling "$ .modal.close ()" and entering the close function, it will reach and the moment it fails when it hits ... "Sddata.hide () delete ();". if I remove the .remove () operator by making it "sddata.hide () //. remove ();" it will continue and then crash when it reaches the end of the close function, where there are still three lines with .remove ().
sdcontainer.hide (); .// delete (); sdoverlay.hide (); .// delete (); sdiframe && sdiframe.hide (); .// delete ();
Commenting them out as I did above works fine, but JS is not my strongest language. I am not sure what side effects there are if you do not have removal instructions.
source share