Javascript Reference
Categories: document

javascript document queryCommandEnabled( )

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

queryCommandEnabled("commandName")

Specifies whether the command can be invoked in light of the current state of the document or selection. Available only in the Win32 platform for IE 4.

 
Parameters
 
commandName

A case-insensitive string value of the command name.

 
Returned Value

Boolean value: true if enabled; false if not.


Powered by Linode.