good docs on getElementByTagName
|
| View previous topic :: View next topic |
| Author |
Message |
Mupolan
Joined: 30 May 2006 Posts: 101
|
| Anyone have good documents on getElementByTagName? |
| |
|
|
|
|
kadamat
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 |
| |
|
|
Mupolan
Joined: 30 May 2006 Posts: 101
|
| kadamat, is it array of objects? |
| |
|
|
kadamat
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 |
| |
|
|
|
|