Document.queryCommandState() (Method)

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

Availability:

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

This will return one of the following values:

Warnings:

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