DHTML Methods
Returns whether the command can be successfully executed using execCommand, given the current state of the document.
bEnabled = object.queryCommandEnabled ( sCmdID )
Boolean. Returns true if the command is enabled, or false otherwise.
Note: Using queryCommandEnabled ( "delete" ) on a TextRange object returns true, while queryCommandEanbled ( "delete" ) on a document object returns false. However, execCommand ( "delete" ) can still be used to delete the selected text.
document, controlRange, TextRange
execCommand, queryCommandIndeterm, queryCommandState, queryCommandSupported, queryCommandValue