![]() |
Available news archives:
comp.lang.tcl
-
comp.lang.python
-
comp.security.firewalls
-
sci.crypt -
comp.lang.php -
comp.lang.javascript
|
|
comp.lang.javascript archiveRe: accessing html collections
From: <mumrah@gmail.com>
Date: Wed Dec 07 2005 - 20:45:46 CET
So if i'm parsing through the DOM, and i have some parents and i access
object.childNodes
I should access the children via [0] and not item(0) ?
example: document.getElementById('foo').childNodes[0] as opposed to
I had always used the [] to access array elements in JS until i
|