1<input type='checkbox' onchange='handleChange(this);'> Checkbox.
2function handleChange(checkbox) {
3if(checkbox. checked == true){
4document. getElementById("submit"). removeAttribute("disabled");
5}else{
6document. getElementById("submit"). setAttribute("disabled", "disabled");
7}