varstr="";
for(vari=0;i
for(varj=0;j
//str+=tableObj.rows[i].cells[j].innerHTML+"";
for(varz=0;z
vartext=tableObj.rows[i].cells[j].children[z];//取得textobject
str+=text.value;
}
}
str+="n";
}
alert(str);
用js遍历table
for(varz=0;z
vartext=tableObj.rows[i].cells[j].children[z];//取得textobject
str+=text.value;
}
}
str+="n";
}
alert(str);
用js遍历table