JavaScript DOM HTML method: isSupported()
[this page | pdf | back links]
The isSupported() method (when applied to HTML elements
in the JavaScript
DOM) returns true if specified feature is
supported, otherwise returns false.
Some major browsers no
longer support this method, and so it is desirable not to use it.
It
has the following syntax with the following parameters. It returns a Boolean
as above.
element.isSupported(feature, version)
Parameter
|
Required / Optional
|
Description
|
feature
|
Required
|
String defining feature
being tested
|
version
|
Option
|
String defining version
of feature being tested
|
NAVIGATION LINKS
Contents | Prev | Next | JavaScript DOM (and BOM)