Modules
Objects/Functions
SuiteScript 2.0
{Element}.removeAttributeNode({oldAttr: {xml.Attr}})
N/xml Module
Element.removeAttributeNode()
Method Description:
Removes the attribute specified as a xml.Attr object.
Returns:
xml.Attr
Supported Script Types:
All script types
For more information, see SuiteScript 2.0 Script Types.
Governance:
None
Module:
N/xml Module
Since:
2015.2
Search NetSuite -
https://system.netsuite.com/app/help/helpcenter.nl?search=Element.removeAttributeNode(options)
Example:
// Code Example 1
//Add additional code
//...
var removedAttr = elem[0].removeAttributeNode({
oldAttr : attr
});
//...
//Add additional code
//SOURCE: https://system.netsuite.com/app/help/helpcenter.nl?fid=section_454500366210.html