DOMElement properties

In addition to the properties it inherits from the DOMNode interface, the DOMElement interface supports one property, tagName.

tagName 
Access  Read-only 
Type  String 
Description  The element name. 
Usage 
JScript  DOMElement_object.tagName;  
VBScript  DOMElement_object.tagName 
Example 
// SoftQuad Script Language JSCRIPT:
var tname = ActiveDocument.documentElement.tagName;
Application.Alert(tname);
 


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

Copyright © SoftQuad Software Inc. 1999