"document.formName" is undefined?
<p>I've got an ASP.NET site running locally on my XP system using IIS Express. There is a live version of the site running on a Windows server. </p>

<p>In the web pages, often the Javascript will reference a form on the page using the style <code>document.formName</code>, where <code>formName</code> is the name of the form. As far as I know, this is a cross-browser method, along with <code>document.forms.formName</code> and <code>document.forms[0]</code> and so forth.</p>

<p>On my local development site, the reference <code>document.frm1</code> (I know, bad naming practice) errors out; it is undefined. On the other hand, <code>document.forms.frm1</code> works fine. Strangely, this doesn't occur on the server, although both pages are identical as far as the code goes. I've double checked with Firebug, and in both IE8 and Firefox 6.</p>

<p>Another weird part: checking with Firebug, <code>document.frm1</code> is undefined, but <code>document.frmClose</code> (another form) exists! Huh?!</p>

<p>Anyone experienced this before?</p>
