Javascript Reference
Categories: document

javascript document queryCommandState( )

@June 22, 2008, 3:32 a.m.
queryCommandState( ) Firefox/Netscape/NN n/a IE 4(Win) Chrome/Safari/DOM n/a

queryCommandState("commandName")

 

Determines the current state of the named command. Available only in the Win32 platform for IE 4.

 
Parameters
 
commandName

A case-insensitive string value of the command name.

 
Returned Value

true if the command has been completed; false if the command has not completed; null if the state cannot be accurately determined.


Powered by Linode.