XUL:Atrybut:command
z Mozilla Developer Center, polskiego centrum programistów Mozilli.
- command
- Typ: id elementu
- Ustawiony na wartość atrybutu id elementu command, obserwowanego przez ten element.
[edytuj] Przykład
<command id="cmd_openhelp" oncommand="alert('Help');"/>
<button label="Help" command="cmd_openhelp"/>
<button label="More Help" command="cmd_openhelp"/>
[edytuj] Zobacz także
Element command, commandset i atrybut oncommand.