DHTML Methods
Executes a command over the given selection or text range.
bSuccess = object.execCommand ( sCommand
[ , bUserInterface ] [ , vValue ] )
sCommand |
Required. Command to execute. This can be any valid command identifier. |
bUserInterface |
Optional. Value that indicates whether to display a user interface if the command supports one. This can be TRUE or FALSE. The default is FALSE. |
vValue |
Optional. String, number, or other value to assign. Possible values depend on sCommand. |
Boolean. Returns TRUE if the command is successful, or FALSE otherwise.
Wait to invoke the execCommand method until after the page has loaded.
document, controlRange, TextRange
queryCommandEnabled, queryCommandIndeterm, queryCommandState, queryCommandSupported, queryCommandValue