标签:big inpu lse check doc == UNC class click
<input id=‘bigclassauthorize‘ type=‘checkbox‘ onclick=‘testClickBigCheckBox()‘/>
<input id=‘smallclassauthorize1‘ type=‘checkbox‘/>
function testClickBigCheckBox(){
var big = document.getElementById(‘bigclassauthorize‘);
var small1 = document.getElementById(‘smallclassauthorize1‘);
if(big.checked == true){
small1.checked = true;
}else{
small1.checked = false;
}
}
标签:big inpu lse check doc == UNC class click
原文地址:https://www.cnblogs.com/flymili1017/p/11151290.html