Document.queryCommandSupported() (Method)

Part of an MSIE special document command handling mechanism. Indicates whether the document or text range supports a command.


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

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

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


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