var tb = document.getElementById('coDevUserRelList'); // table 的 id
var rows = tb.rows;
alert(rows[0].cells[0].innerHTML);
// 获取表格所有行
for(var i = 0; i<rows.length; i++ ){
for(var j = 0; j<rows[i].cells.length; j++ ){ // 遍历该行的 td
alert("第"+(i+1)+"行,第"+(j+1)+"个td的值:"+rows[i].cells[j].innerHTML+"。");
}
}