遍历table的行


Warning: Undefined array key "HTTP_REFERER" in /www/wwwroot/prod/www.enjoyasp.net/wp-content/plugins/google-highlight/google-hilite.php on line 58
var tb = document.getElementById('mytab');
     var rowNum=tb.rows.length;
   
     for (i=0;i<rowNum;i++)
     {
         
                 alert(tb.rows[i]);
     }