W3C home > Mailing lists > Public > www-dom@w3.org > July to September 2002

Re: getElementById and case sensitivity

From: Boris Zbarsky <bzbarsky@MIT.EDU>
Date: Mon, 01 Jul 2002 19:28:50 -0400
Message-Id: <200207012328.TAA05478@nerd-xing.mit.edu>
To: Thor Larholm <Thor@jubii.dk>
cc: "'www-dom@w3.org'" <www-dom@w3.org>

> There is an inconsistant behavior in how the 2 major DOM implementations
> (IE/Mozilla) treat cases in ID attributes when referencing elements with
> getElementById.

IDs are case-sensitive in HTML.  Therefore "crapper" and "crappeR" are
different IDs that could belong to different elements.

There is no distinctly American criminal class except
                      -- Mark Twain
Received on Monday, 1 July 2002 19:32:58 UTC

This archive was generated by hypermail 2.3.1 : Tuesday, 20 October 2015 10:46:10 UTC