public setIdAttributeNode(idAttr as Attr, isId as Boolean) as Void throws DOMException
Marks an attribute node as an identifier attribute.
| Parameter | Description |
|---|---|
idAttr | Attribute node. |
isId | True when the attribute should be treated as an identifier. |
element.setIdAttributeNode(attr, true)