作者在 2011-03-25 11:45:45 发布以下内容
<script type="text/javascript">
function deleteFun(str){
var cstr=str.checked;
var deletebox=document.getElementsByName("deletebox");
if(cstr==true){
for(var i=0;i<deletebox.length;i++){
deletebox[i].checked="checked";
}
}
else{
for(var i=0;i<deletebox.length;i++){
deletebox[i].checked="";
}
}
}
</script>
function deleteFun(str){
var cstr=str.checked;
var deletebox=document.getElementsByName("deletebox");
if(cstr==true){
for(var i=0;i<deletebox.length;i++){
deletebox[i].checked="checked";
}
}
else{
for(var i=0;i<deletebox.length;i++){
deletebox[i].checked="";
}
}
}
</script>