菜鸟问题!在线! document.aa.rows[0].cells[0].innerText 解决方案 » 免费领取超大流量手机卡,每月29元包185G流量+100分钟通话, 中国电信官方发货 alert()要放到最后。<html><head><title>test</title></head><body><form name="m"> <table id="aa"> <tr > <td > abc </td> </tr> </table> </form> <script>alert(document.all("aa").rows[0].cells[0].innerText);</script></body></html> <html><head><title>test</title></head><body><form name="m"> <table name="aa"> <tr> <td id=td1> abc </td> </tr> </table> </form></body><script>alert("需要输出的变量="+document.all.td1.innerText);</script></html> net_lover错误信息: document.aa不是对象 如何统计子节点中出现最多的节点类型及其百分比? 在jsp文件中不能正确显示“++”,WHY? html版聊天室 求解决一个JS代码的问题~!!!! 寻求简单方法 急:请问表格怎么自动换行? 请帮我写一段在文件上穿过程中判断文件类型的程序 谁能帮帮我 关于文件选择对话框!在线等待... 有分捡了,有关用javascript改变TABLE内容的问题? 在网页中页面刷新的语句? 请问如果才能做做只提交一次!
<html>
<head>
<title>test</title>
</head><body>
<form name="m">
<table id="aa">
<tr >
<td >
abc
</td>
</tr>
</table>
</form>
<script>
alert(document.all("aa").rows[0].cells[0].innerText);
</script>
</body>
</html>
<head>
<title>test</title>
</head>
<body>
<form name="m">
<table name="aa">
<tr>
<td id=td1>
abc
</td>
</tr>
</table>
</form>
</body>
<script>
alert("需要输出的变量="+document.all.td1.innerText);
</script>
</html>