disableddisabled attribute.
<!-- Checkbox enables/disables the button -->
<checkbox label="Enable button"
oncommand="document.getElementById('buttRemove').disabled = ! this.checked"/>
<button id="buttRemove" label="Remove All" disabled="true"/>