Javascript Expression "document.body.getElementsByTagName();" Vs "document.getElementsByTagName();"
Posted
by webzide
on Stack Overflow
See other posts from Stack Overflow
or by webzide
Published on 2010-03-19T19:38:22Z
Indexed on
2010/03/19
19:41 UTC
Read the original article
Hit count: 246
JavaScript
|dom
Dear experts, I am quite new to javascript and I often see coders use those lines interchangeabaly.
document.body.getElementsByTagName();
and
document.getElementsByTagName();
What is the difference, benefits?
Does this have anything to do with FF and IE?
© Stack Overflow or respective owner