Command() FunctionExecutes the specified command. Syntax:Command(id) Command(id1,id2,...) - Requires version 2.4.5 and higher Parameters id - The id of a command to execute. Remarks:
Example: In the following example, clicking the Test button executes the command cmd1. This command is defined in the COMMANDS block, and causes the browser to navigate two pages back. <xml id="toolbar"> <control type="toolbar"> <button
id="button1" action=Command(cmd1)"> </button> </control> <COMMANDS> <COMMAND id="cmd1" action="Back(); Back();"> <COMMANDS> </xml> Compatibility From version 2.4.5 onwards, multiple controls can be specified as a comma separated list. See Also |