📅  最后修改于: 2022-03-11 15:02:51.752000             🧑  作者: Mango
Checkbox.
function handleChange(checkbox) {
if(checkbox. checked == true){
document. getElementById("submit"). removeAttribute("disabled");
}else{
document. getElementById("submit"). setAttribute("disabled", "disabled");
}