Easy Tutorial
❮ Jsref Log2E Prop Date Type ❯

HTML DOM Node isSupported() Method

Element Object

Example

Button element supports checking version 2.0 core features:

Output result:


Definition and Usage

The isSupported() method is used to determine if the current node supports a specific feature.


Browser Support

All major browsers support the isSupported method.

Note: Internet Explorer 8 and earlier versions do not support this method.


Syntax

Parameters

Parameter Type Description
feature String Required. Defines the feature you want to check for support.
version String Optional. Defines the version you want to check for support.

Return Value

Type Description
Boolean Returns true if the feature is supported, otherwise returns false.

Technical Details

| DOM Version | Core Level 2 Node Object | | --- | --- |


Element Object

❮ Jsref Log2E Prop Date Type ❯