DOM objects--case sensitive or not?

Giganews Newsgroups
Subject: DOM objects--case sensitive or not?
Posted by:  Ruixin Wang (rwan…
Date: Thu, 4 Sep 2003

Hi, this question might be stupic but it's really killing me so if anyone
can help, thank you so much! I know that JavaScript is case sensitive, but
in JavaScript books I found that DOM objects are referred to using different
cases. For example, some book says "Button" object, while others say
"button" object. If "Button" or "button" is the name for a pre-defined
object, shouldn't it have consistant case?