Please note, this is a STATIC archive of website developer.mozilla.org from 03 Nov 2016, cach3.com does not collect or store any user information, there is no "phishing" involved.

command

command
Type: element 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

文档标签和贡献者

标签: 
 此页面的贡献者: ziyunfei, Cuimingda
 最后编辑者: ziyunfei,