Chapter 3 DynaScript Predefined Objects
The DOMNodeList
object
has this property:
DOMNodeList.length
The number of objects in the list.
This fragment loops through the items of a DOMNodeList
of
elements.
for( iElem=0;
iElem < domParent.childNodes.length;
iElem++ ) {
thisChild = domParent.childNodes.item( iElem );
// other operations here
}
Copyright © 1999 Sybase, Inc. All rights reserved. |
![]() |