Callback to parent function from child not working in IE?
<p>I have the functions below and they work fine in firefox and chrome but dont seem to work in IE.</p>

<p>Is this because IE opens in new windows and not tabs like the others?</p>

<p>Parent JS</p>

<pre><code>    var wnd = null;
    function openPdf() {
        wnd = window.open('www.example.com');
    }

    function closeWnd() {
        if (wnd != null) {
            wnd.close();
        }   
    alert('Closed');
    }
</code></pre>

<p>Child JS</p>

<pre><code>    function parent_callback() {
        setTimeout("window.opener.closeWnd()",2000);
    }
</code></pre>

<p>Thanks</p>
