asp.net.ph

Skip Navigation Links

queryCommandState Method

DHTML Methods


Returns the current state of the command.

Syntax

bDone = object.queryCommandState ( sCmdID ) 
Parameters

sCmdID Required. String that specifies a command identifier.

Return Value

Boolean. Returns true if the given command has been carried out on the object, false if it has not, and null if it is not possible to determine the command state.

Applies To

document, controlRange, TextRange

See Also

execCommand, queryCommandEnabled, queryCommandIndeterm, queryCommandSupported, queryCommandValue



© 2025 Reynald Nuñez and asp.net.ph. All rights reserved.

If you have any question, comment or suggestion
about this site, please send us a note