Modules
Objects/Functions
SuiteScript 2.0
// Please search https://system.netsuite.com/app/help/helpcenter.nl?search=Attr.ownerElement for more information.
N/xml Module
Attr.ownerElement
Property Description:
xml.Element object that is the parent of the xml.Attr object. Value is null if the attribute is not used by an element.
This property is not supported on Internet Explorer.
Type:
xml.Element (read-only)
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=Attr.ownerElement
Example:
// Code Example 1
//Add additional code
//...
var attrElement = attr.ownerElement; \\ returns the title element.
//...
//Add additional code
//SOURCE: https://system.netsuite.com/app/help/helpcenter.nl?fid=section_46546264648.html