javascript TextRange queryCommandEnabled( )

queryCommandEnabled( )NN n/a IE 4(Win) 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.


2117,Nickname,Homepage or email,Comments here,Add comment