Document.queryCommandValue() (Method)

Part of an MSIE special document command handling mechanism. The value of a command for a document or text range.


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

The value of a command depends on the command itself and what is selected. This method returns a value according to those criteria.


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