Testseite document.getElementById('yourBox').onchange = function() { document.getElementById('yourText').disabled = !this.checked; }; [Form id=”6″]