« XUL Reference
disabled
Type: boolean
Gets and sets the value of the disabled attribute.
Image:XUL_ref_attr_disabled.png
<!-- Checkbox enables/disables the button -->
<checkbox label="Enable button"
    oncommand="document.getElementById('buttRemove').disabled = ! this.checked"/>
<button id="buttRemove" label="Remove All" disabled="true"/>