can anyone think of browser where this script would make sense

Giganews Newsgroups
Subject: can anyone think of browser where this script would make sense
Posted by:  pantagruel (rasmussen.bry…@gmail.com)
Date: Wed, 14 Nov 2007

Hi,

The following script fragment is in an application I need to work
with:

var theForm = document.forms['Form1'];
if (!theForm) {
    theForm = document.Form1;
}

which does not make much sense to me. The application is basically IE
only I guess, can anyone think of some version of IE in which this
would be sensible?

Replies