Re: getElementsByTagName
by "Frank Boumphrey" <bckman(at)ix.netcom.com>
|
Date: |
Mon, 27 Nov 2000 16:56:22 -0500 |
To: |
"Peter Benoit" <pbenoit(at)triton-network.com>, <hwg-techniques(at)hwg.org> |
References: |
network |
|
todo: View
Thread,
Original
|
|
getElementsByTagName('*') is not part of the W3c DOM standard. The
parentheses must contain the _name_ of an element. The standard says
nothing about wildcards. What you are seeing in netscape is a local
implementation and not a standard one..
Frank
----- Original Message -----
From: "Peter Benoit" <pbenoit(at)triton-network.com>
To: <hwg-techniques(at)hwg.org>
Sent: Monday, November 27, 2000 8:39 AM
Subject: getElementsByTagName
> Anyone know why document.getElementsByTagName('*').length doesn't
work in
> IE?
>
> Not sure if I'm doing something wrong, example at:
> http://www.iguy.net/dev/dom2/getElementsByTagName.htm
>
>
> I'm told document.getElementsByTagName('*') is an object, but I
haven't a
> clue how to access it's properties. Anyone delt with this yet?
>
>
> TIA,
> Pete
>
HWG hwg-techniques mailing list archives,
maintained by Webmasters @ IWA