HTML DOM Attributes isId Attribute
- Previous Page getNamedItem()
- Next Page item()
- Go to the Previous Level HTML DOM Attributes
Definition and Usage
isId
attribute anymore. It was supported in Chrome, Firefox, and Safari.
No browser supports isId
attribute.
isId
The attribute always returns undefined
.
Alternative solution:
Get the name of the attribute:
let aName = element.attributes[0].name;
Syntax
attribute.isId
Return Value
undefined
- Previous Page getNamedItem()
- Next Page item()
- Go to the Previous Level HTML DOM Attributes