Javascript Reference
Categories: TextRange

javascript TextRange queryCommandEnabled( )

@March 15, 2008, 1:22 a.m.
queryCommandEnabled( )Firefox/Netscape/NN n/a IE 4(Win) Chrome/Safari/DOM n/a  

queryCommandEnabled("commandName")

  

Indicates whether the command can be invoked in light of the current state of the document or selection.

 
Parameters
 
commandName

A case-insensitive string value of the command name.

 
Returned Value

Boolean value: true if enabled; false if not.


Powered by Linode.