I have an ASP.NET site running locally on my XP system using IIS Express. There is a live version of a site running on a Windows server.
On web pages, often Javascript will refer to the form on the page using the document.formName style, where formName is the name of the form. As far as I know, this is a cross-browser method, along with document.forms.formName and document.forms[0] , etc.
On my local development site, the link is document.frm1 (I know the wrong naming practice); it is undefined. On the other hand, document.forms.frm1 working fine. Oddly enough, this does not happen on the server, although both pages are identical as you progress through the code. I double checked with Firebug, both in IE8 and Firefox 6.
Another weird part: checking with Firebug, document.frm1 is undefined, but document.frmClose (another form) exists! BUT?!
Has anyone experienced this before?
voithos
source share