setIdAttribute: name, isId(3)
This method provides a way to mark an attribute as a
user-determined ID attribute. Although attributes that are marked
as ID attributes using this method will show up in searches
conducted using the Document.getElementById( )
method, it
will not modify any of the type information provided by the
Attr.schemaTypeInfo
attribute.
To mark namespace-aware attributes, use the setIdAttributeNS( )
method.
The attribute name to modify.
Set to true
if the
attribute is to be an ID attribute; otherwise, set to
false
.