Re: name="" deprecated in XHTML

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

Received on Tuesday, 1 July 2008 07:16:16 UTC