Modules

filter

 

Objects/Functions

module (N/xml)

SuiteScript 2.0

Element.removeAttribute(options)

{Element}.removeAttribute({name: {string}})

N/xml Module
Element.removeAttribute()
Method Description: Removes the attribute with the specified name.
Returns: void
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.removeAttribute(options)

Example:

// Code Example 1
//Add additional code
//...
elem[0].removeAttribute({
name : 'lang'
});
//...
//Add additional code

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