good docs on getElementByTagName
|
| View previous topic :: View next topic |
| Author |
Message |
Mupolan Enthusiastic Coder
Joined: 30 May 2006 Posts: 101
| |
kadamat Enthusiastic Coder
Joined: 01 Jun 2006 Posts: 88
|
there's not too much to know about it, it returns a HTMLCollection containing all the elements with matching tag names, and you can specify "*" as the argument to get all tags
Reply with quote
|
| |
|
|
Mupolan Enthusiastic Coder
Joined: 30 May 2006 Posts: 101
| |
kadamat Enthusiastic Coder
Joined: 01 Jun 2006 Posts: 88
|
Mupolan, it's similiar to an array, it has numeric indexes like an array, it has a length property... but it's not an instance of Array
that's the return value, getElementsByTagName is a function
Reply with quote
|
| |
|
|
|