<input type="checkbox" onchange="if(this.checked) document.getElementById('coup').disabled= false; else document.getElementById('coup').disabled= 'disabled';" /> <input id="coup" type="checkbox" disabled="disabled" />