测试好半天,才出来,checkbox在第一列,
for( i=1;i<document.all.GVmain.rows.length;i++)
{
var cb=document.all.GVmain.rows(i).cells(0).children(0);
if(cb.checked)
{
temp0=document.all.GVmain.rows(i).cells(1).innerText;
temp1=document.all.GVmain.rows(i).cells(5).innerText;
temp2=document.all.GVmain.rows(i).cells(6).innerText;
}
}
posted @ 2006-12-27 14:45
黑星 阅读(4489)
评论(18) 编辑 收藏 网摘 所属分类:
.net技术