isSupported method

This topic has not yet been rated - Rate this topic

Returns a value indicating whether or not the object supports a specific Document Object Model (DOM) standard.

Document Object Model (DOM) Level 3 Core Specification, Section 1.2

Syntax

object.isSupported(bstrfeature, version)

Parameters

bstrfeature [in]

Type: String

The name of the standard.

Core

DOM Core module.

XML

DOM XML module.

Events

DOM Events module.

UIEvents

DOM User interface Events module.

MouseEvents

DOM Mouse Events module.

TextEvents

DOM Text Events module.

MutationEvents

DOM Mutation Events module.

MutationNameEvents

DOM Mutation name Events module.

HTMLEvents

DOM HTML Events module.

LS

DOM Load and Save module.

LS-Async

DOM Asynchronous load module.

Validation

DOM Validation module.

XPath

DOM XPath module.

version [in, optional]

Type: Variant

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

Return value

Type: Boolean

Returns one of the following possible values:
Return valueDescription
true

Standard is supported.

false

Standard is not supported.

 

Standards information

See also

a
attribute
audio
button
div
document
documentType
ProcessingInstruction
iframe
img
input type=button
input type=checkbox
input type=file
input type=hidden
input type=image
input type=password
input type=radio
input type=reset
input type=submit
input type=text
label
legend
media
object
optGroup
option
select
source
span
table
textArea
TextNode
video
hasFeature

 

 

Build date: 11/28/2012

Did you find this helpful?
(1500 characters remaining)
© 2013 Microsoft. All rights reserved.