public setIdAttribute(name as String, isId as Boolean) as Void throws DOMException
Marks an attribute as an identifier attribute.
| Parameter | Description |
|---|---|
name | Attribute qualified name. |
isId | True when the attribute should be treated as an identifier. |
element.setIdAttribute("id", true)