Easy Tutorial
❮ Jsref Unescape Prop Datetime Local Form ❯

HTML DOM isId Property

Attribute Object

Example

Check if an attribute is the ID attribute of an element:

Output result:


Definition and Usage

The isId property returns true if the attribute is of type ID (e.g., contains the identifier of its owning element), otherwise it returns false.


Browser Support

The isId property is supported by all major browsers except Internet Explorer and Opera.


Syntax

Technical Details

Return Value: Boolean, true false
DOM Version Core Level 3
--- ---

Attribute Object

❮ Jsref Unescape Prop Datetime Local Form ❯