IFrame form submittal opens in frame, needs to open in new window <p>Trying to resolve an issue using a 3rd party form that unfortunately has to use an iframe to be embedded in the article content. When a user submits their email address, the thank you page opens up in the space taken up by the iframe instead of the page / a new window. I tried using the following JS script to no avail:</p> <pre><code>&lt;script type="text/javascript"&gt; // If "&amp;_parent=URL" is in this page's URL, then put URL into the top window var match = /_parent=(.+)/.exec(window.location.href); if (match != null) { top.location = match[1]; } &lt;/script&gt; </code></pre> <p>The page in question:</p> <p><a href="http://restoringqualityoflifeblog.org/subscribe/" rel="nofollow">http://restoringqualityoflifeblog.org/subscribe/</a></p> <p>Thanks!</p>