asp.net.ph

Skip Navigation Links

queryCommandValue Method

DHTML Methods


Returns the current value of the given command. If the command returns a value such as a color rather than a true/false state, this command is used to retrieve the current value of the document or range.

Syntax

vCmdValue = object.queryCommandValue ( sCmdID ) 
Parameters

sCmdID Required. String that specifies a command identifier.

Return Value

String or Boolean. Returns a string representing the command value if the command is supported, otherwise true/false.

Applies To

document, controlRange, TextRange

See Also

execCommand, queryCommandEnabled, queryCommandIndeterm, queryCommandState, queryCommandSupported



© 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