TextRange.queryCommandState() (Method)

Part of an MSIE special document command handling mechanism. Returns the current state of a command.

Availability:

JScript - 3.0
Internet Explorer - 4.0
Property/method value type:Boolean primitive or Null
JavaScript syntax:IEmyTextRange.queryCommandState(aCommandName)
Argument list:aCommandNameAn MSIE command name

This will return one of the following values:

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