DOMNodeList properties

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);
 


Right arrow
Next Topic
Left arrow
Previous Topic
Table of contents
Table of Contents

Copyright © SoftQuad Software Inc. 1999