checkbox disable code example Example: checkbox desable document.getElementById("myCheck").disabled = true;