W3C home > Mailing lists > Public > www-html@w3.org > July 2008

Re: name="" deprecated in XHTML

From: Philip TAYLOR (Ret'd) <P.Taylor@Rhul.Ac.Uk>
Date: Tue, 01 Jul 2008 08:15:33 +0100
Message-ID: <4869D995.7010607@Rhul.Ac.Uk>
To: Benjamin Hawkes-Lewis <bhawkeslewis@googlemail.com>
CC: Sebastian Mendel <lists@sebastianmendel.de>, www-html@w3.org



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 GMT

This archive was generated by hypermail 2.2.0+W3C-0.50 : Tuesday, 27 March 2012 18:16:14 GMT