var tableObj = document.getElementById("tableName");
var str = "";
for(var i=0;i
for(varj=0;j
//str = tableObj.rows[i].cells[j].innerHTML " ";
for(var z=0;z
var text = tableObj.rows[i]。 cell[j].children[z];//text object
を取得 str = text.value;
}
}
str ="n";
}
alert(str);
用js遍历 table