Document.queryCommandText() (Method)

Part of an MSIE special document command handling mechanism.

Availability:

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

Some commands support the extraction of text from the document or TextRange. If the command does support the extraction of text, it will be returned by this method.

Warnings:

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