标签:io ar for cti sp on c table text
传入table的id值
function GetTableInfo(tableid) {
var Info = "";
var table = $("#"+tableid);
for (var i = 0; i < table.rows.length; i++) { //遍历Table的所有Row
for (var j = 0; j < table.rows[i].cells.length; j++) { //遍历Row中的每一列
Info += table.rows[i].cells[j].innerText+" "; //获取Table中单元格的内容
}
Info+= "\n";
}
return Info;
}
标签:io ar for cti sp on c table text
原文地址:http://www.cnblogs.com/leon719/p/3944664.html