How can I open a window and select objects in that window?
<p>I have </p>

<pre><code>newWindow=window.open(document.URL);
$('div#header',newWindow.document).hide();
$('div#footer',newWindow.document).hide();
</code></pre>

<p>But it doesn't seem to be working.  Any ideas?</p>
