Returns a Boolean value that indicates whether a specified command can be successfully executed using execCommand, given the current state of the document.
bEnabled = object.queryCommandEnabled(sCmdID)
Boolean that returns one of the following possible values:
|true||The command is enabled.|
|false||The command is disabled.|
Using queryCommandEnabled ("delete") on a TextRange object returns true, while queryCommandEnabled ("delete") on a document object returns false. However, execCommand ("delete") can still be used to delete the selected text.
There is no public standard that applies to this method.
execCommand, queryCommandIndeterm, queryCommandState, queryCommandSupported, queryCommandValue