Please note, this is a STATIC archive of website developer.mozilla.org from November 2016, cach3.com does not collect or store any user information, there is no "phishing" involved.
command
Type: id
Set to the id of a command element that is being observed by the element.

Example

<command id="cmd_openhelp" oncommand="alert('Help');"/>
<button label="Help" command="cmd_openhelp"/>
<button label="More Help" command="cmd_openhelp"/>

See also

command element, oncommand and commandset

Document Tags and Contributors

 Contributors to this page: Sheppy, pippijn, Marsf, BenoitL, Mgjbot, Okome, Pmash, Dria
 Last updated by: Sheppy,