Htmldocument. Execcommand () method

Source: Internet
Author: User

Purpose:

Run the specified command on the document.

Syntax:

 
Public Void Execcommand(StringCommand, BoolShowui, ObjectValue)
Parameters
Command
Type: System ..::.String

The name of the command to be executed. For a complete list of commands, see command Identifiers (command identifier) (http://msdn.microsoft.com/library/default.asp? Url =/Workshop/author/DHTML/reference/commandids. asp ).

Showui
Type: System ..::.Boolean

Whether to display a command-specific dialog box or message box to the user.

Value
Type: System ..::.Object

Value to be allocated using this command. Not all commands.

Remarks

ExeccommandA large number of commands are made public, and methods are not made public for these commands on htmldocument. UseExeccommandYou can insert new HTML elements, select text and set text formats, and clear any identity authentication creden。 cached.

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.