'execCommand()' Syntax, Parameters and Note : execCommand « Javascript Methods « JavaScript Reference

Home
JavaScript Reference
1.Event Handlers Reference
2.Javascript Collections
3.Javascript Methods
4.Javascript Objects
5.Javascript Properties
JavaScript Reference » Javascript Methods » execCommand 
'execCommand()' Syntax, Parameters and Note

Note:

Executes outside the regular methods. 
Returns true (successfulor false (failed).
    
Syntax:
    
controlRangeName.execCommand(param1, param2, param3)
objectName.execCommand(param1, param2, param3)


Parameters:
    param1   Required; the name of the command. 
             see http://msdn.microsoft.com/workshop/author/dhtml/reference/commandids.asp.
    param2   Optional; true or false, display a user interface 
                       if the command supports one.
    param3   Optional; only applies to some of the commands.

    

      
      
Related examples in the same category
1.'execCommand()' Example
2.'execCommand()' is applied to
java2s.com  | Contact Us | Privacy Policy
Copyright 2009 - 12 Demo Source and Support. All rights reserved.
All other trademarks are property of their respective owners.