Re: name="" deprecated in XHTML

"Philip TAYLOR (Ret'd)" <[email protected]>
Newsgroups gmane.comp.web.html.general
Message-ID <[email protected]>


Benjamin Hawkes-Lewis wrote:

> Note there is, more helpfully perhaps, a getElementsById method. 

If true, isn't that a very perverse choice of name ?

Surely there /can/ be only one element with a given ID,
in which case "getElementById" (no "s" at position 11)
would be a far more logical choice of name.

Philip TAYLOR
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.