queryCommandState Method | Internet Development Index |
Returns a Boolean value that indicates the current state of the command.
Syntax
bDone = object.queryCommandState(sCmdID)
Parameters
sCmdID Required. String that specifies a command identifier.
Return Value
Boolean that returns one of the following possible values:
true The given command has been executed on the object. false The given command has not been executed on the object.
Standards Information
There is no public standard that applies to this method.
Applies To
document, controlRange, TextRange
See Also
execCommand, queryCommandEnabled, queryCommandIndeterm, queryCommandSupported, queryCommandValue