I have a site using JQuery and a PrettyPhoto lightbox to create a pop-up box with an iFrame to display a form on a different page on the site.
You can see a screenshot here:
http://174.132.166.253/~sharedgr/GeneralGraphics/2012-02-07_1324.png
I want to be sure visitors submit the form before closing the box.
I need to detect what page is loaded in the PrettyPhoto iFrame and if the “thank you” page is not loaded, clicking on the close button will display a JavaScript confirmation box te…
