js取得gridview中获取checkbox选中的值 | |
作者:天涯 来源:中国自学编程网 发布日期:1220669715 | |
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; } } |