Course recommendation:

HTML DOM Element isSupported() Method

Method to check if the specified node supports the specified feature. Definition and usage

Method to check if the specified node supports the specified feature. isSupported()

The method is deprecated. Do not use it.

Instance

Check if the element supports Core 2.0 version:

element.isSupported("Core", "2.0");

try it yourself

grammarisSupported(feature, version)

Parameter

Parameter Description
feature Required. Check if the feature is supported.
version Optional. The version of the feature.

Return value

Type Description
Boolean value Αν υποστηρίζεται η χαρακτηριστική ιδιότητα, τότε είναι true, αλλιώς είναι false.