Hello Brian,
The term if(document.images) doesn't check for the length of the array.
It just checks, if the array exists (in the DOM of the browser).
Like if (document.layers) is used to check for netscape browsers (which
returns true, even if there are no layers used on the page).
-----Urspr=FCngliche Nachricht-----
Von: Brian Mains [mailto:bgmst5@y...]
Gesendet: Dienstag, 26. Juni 2001 15:05
An: javascript
Betreff: [javascript] Re: document.images
Hello,
It is weird to me too, but what is even weirder is it passes as true
even
though there are no images. That is what is confusing me.
hans.friedrich@b...
$subst('Email.Unsub')