Problem closing popup window
<p>I'm creating a popup window using <code>window.open</code> that can be closed later by the <code>opener</code> with a call to <code>close()</code> without problem, the problem is when the popup window navigates to a different url, then <code>close()</code> will do nothing.</p>

<p>I'm using IE9.</p>

<p>the code that I'm using to test is:</p>

<pre><code>var popup = window.open($(this).attr("href"), "Popup", "width=550,height=300,toolbar=0,scrollbars=0,status=0,resizable=0,location=0,menuBar=0");
setTimeout(function () {
    popup.close();
}, 1000);
</code></pre>

<p>if the popup window doesn't navigate to another url, it closes, but if it does, it won't close...</p>

<p>thanks!</p>
