HTMLPreElement.SetAttributeNode
Syntax:
Parameters:
<NewAttribute> (required)
The set HTMLDOM attribute.
Returned value:
Returns an attribute replaced by the new attribute or Undefined, if the attribute does not exist.
Description:
Availability:
Note:
- The attribute node is created by another document;
- This node is read-only;
- The set attribute is an attribute node for another Element node, the attribute should be explicitly cloned.