菜鸟问题!在线! 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不是对象 有关仿人人回复框的写法 jQuery中的document.ready和js中的window.onload速度对比 求教:限时提交按钮 页面自动刷新,如何获得上次页面的一些变量的值 求一个EMAIL验证的涵数. 造福所有喜欢htmlarea的朋友,3.0汉化版 请问如何只打开一个窗口 简单问题,急 怎样可以做到敲击“回车”而表单(Form)不投递?谢谢! EasyUI 合并一列连续几个单元格后,高度变形 在网页中页面刷新的语句? 请问如果才能做做只提交一次!
<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>