setIdAttribute(name, isId)
|
|
Parameters
|
Stringname
The name of the attribute.
booleanisId
Whether the attribute is a of type ID.
|
Returns
|
void
|
Throws
|
DOMException
NO_MODIFICATION_ALLOWED_ERR: Raised if this node is readonly.
NOT_FOUND_ERR: Raised if the specified node is not an attribute of this element.
|