Access a window by window name
<p>If I open a window using </p>

<pre><code>window.open('myurl.html', 'windowname', 'width=100,height=100');
</code></pre>

<p>How do I refer to the new window (from the same page that opened it) using 'windowname'?  This question is specifically about this.  I'm aware that I could save a reference to the handle by using "var mywin = window.open(...)" but I don't care about that in this situation.</p>

<p>Thanks, - Dave</p>
