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); |
Copyright © SoftQuad Software Inc. 1999