function checkall(){
var hobby = document.getElementsByName("hobby");
for(i=0;i<hobby.length;i++){
if(hobby[i].type=="hobby"){
hobby[i].checked=true;
}
}
}
function clearall(){
var hobby = document.getElementsByName("hobby");
for(i=0;i<hobby.length;i++){
if(hobby[i].type=="hobby"){
hobby[i].checked=false;
}
}
}
RTTRWJ4340097
路北
相关分类