isSupported

< dom‎ | methods
Jump to: navigation, search

isSupported


W3C Recommendation

Summary

Returns a value indicating whether or not the object supports a specific DOM standard.

Method of dom/Node

Syntax

var isSupported = node.isSupported(feature, version);

Parameters

feature

Data-type: String


The name of the standard.


version

Data-type: String


The version number of the standard. Supported values vary according to the standard.

Return Value

Returns an object of type Boolean.

Whether the standard is supported.

Needs Examples: This section should include examples.



Related specifications

Specification Status Related Changes
DOM Level 3 Core Recommendation Section 1.2

Compatibility

Desktop

Feature Chrome Firefox (Gecko) Internet Explorer Opera Safari
Basic support ? ? ? ? ?

Mobile

Feature Android BlackBerry Chrome for mobile Firefox Mobile (Gecko) IE Mobile Opera Mobile Opera Mini Safari Mobile
Basic support ? ? ? ? ? ? ? ?

See also

Related pages (MSDN)

This article contains content originally from external sources.

Portions of this content come from the Microsoft Developer Network: [Windows Internet Explorer API reference Article]