TextRange.queryCommandSupported() (Method)

Part of an MSIE special document command handling mechanism. Checks to see if a command is supported.

Availability:

JScript - 3.0
Internet Explorer - 4.0
Property/method value type:Boolean primitive
JavaScript syntax:IEmyTextRange.queryCommandSupported(aCommandName)
Argument list:aCommandNameAn MSIE command name

Some commands are not supported by the TextRange object but may be supported by the document object.

This method returns a Boolean true value if the command is supported by the TextRange object.

See also:Document object, Document.queryCommandSupported(), TextRange.execCommand()