Re: getElementById and case sensitivity

"Boris Zbarsky" <bzbarsky@MIT.EDU>
> > 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.

Unless the element is an Anchor, when that would be invalid.

Jim.

Received on Tuesday, 2 July 2002 05:20:21 UTC