cell里面是checkbox
function select(){var oTable=document.all['userlist:data'];if(oTable != null){
for(var i=1;i<oTable.rows.length;i++){
for(var j=1;j<oTable.rows(0).cells.length-2;j++){
if(oTable.rows(i).cells(j).children.item(0).value == true){
oTable.rows(i).cells(j).children.item(0).checked=true;
}
}
}
}
function select(){var oTable=document.all['userlist:data'];if(oTable != null){
for(var i=1;i<oTable.rows.length;i++){
for(var j=1;j<oTable.rows(0).cells.length-2;j++){
if(oTable.rows(i).cells(j).children.item(0).value == true){
oTable.rows(i).cells(j).children.item(0).checked=true;
}
}
}
}
解决方案 »
免费领取超大流量手机卡,每月29元包185G流量+100分钟通话, 中国电信官方发货