Window.open and modifying DOM of new window
<p>Suppose I open a new window using:</p>

<pre><code>newWindow = window.open(newUrl)
var ul = newWindow.document.getElementsByTagName("ul")[0];
ul.innerHTML = "new content";
</code></pre>

<p>However, this doesn't modify the DOM of the new window at all.. </p>

<p>Is there a way to do what I want to do? which is modify the DOM of a new window opened thru window.open?</p>

<p>Note that the last 2 lines work if I put it in the js for the opened page, so there's nothing wrong with my DOM manipulation code.</p>
