--- title: command slug: Mozilla/Tech/XUL/Attribute/command tags: - XUL Attributes translation_of: Archive/Mozilla/XUL/Attribute/command ---
command
id
of a command
element that is being observed by the element.<command id="cmd_openhelp" oncommand="alert('Help');"/> <button label="Help" command="cmd_openhelp"/> <button label="More Help" command="cmd_openhelp"/>
element, command
and oncommand
commandset