Modules

filter

 

Objects/Functions

module (N/xml)

SuiteScript 2.0

Element.tagName

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

N/xml Module
Element.tagName
Property Description: The tag name of this xml.Element object.
Type: string (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=Element.tagName

Example:

// Code Example 1
//Add additional code
//...
var tagName = elem[0].tagName; \\ returns 'title'.
//...
//Add additional code

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