The DOMNodeList interface supports one property, length.
length | |
Access | Read-only |
Type | Long |
Description | The number of DOMNodes in the DOMNodeList. |
Usage | |
JScript | DOMNodeList_object.length; |
VBScript | DOMNodeList_object.length |
Example |
// SoftQuad Script Language JSCRIPT: var mynodelist; // return a NodeList containing all the elements // of the active document mynodelist = ActiveDocument.getElementsByTagname("*"); Application.Alert(mynodelist.length); |
Copyright © SoftQuad Software Inc. 1999