Modules

filter

 

Objects/Functions

module (N/xml)

SuiteScript 2.0

Node.parentNode

// Please search https://system.netsuite.com/app/help/helpcenter.nl?search=Node.parentNode for more information.

N/xml Module
Node.parentNode
Property Description: The parent node of a node. All node types, except xml.Attr, xml.Document, DocumentFragment, Entity, and Notation can have a parent node. See xml.NodeType for possible node types.
Type: xml.Node
Supported Script Types: All script types For more information, see SuiteScript 2.0 Script Types.
Module: N/xml Module
Since: 2015.2
Search NetSuite - https://system.netsuite.com/app/help/helpcenter.nl?search=Node.parentNode

Example:

// Code Example 1
//Add additional code ...
var nodevalue = parentNode[0].lastChild.parentNode.textContent;
//...
//Add additional code

//SOURCE: https://system.netsuite.com/app/help/helpcenter.nl?fid=section_46910644531.html