Node.nodeName
Property Description |
Name of a node, depending on the type. For example, for a node of type xml.Element, the name is the name of the element.
Note:
On Chrome, this property also includes the namespace or prefix. |
Type |
string (read-only) |
Module |
|
Since |
2015.2 |
Syntax
Important:
The following code sample shows the syntax for this member. It is not a functional example. For a complete script example, see N/xml Module Script Samples.
//Add additional code
...
var nodeName = parentNode[0].firstChild.nodeName;
...
//Add additional code