var Dtr = document.getElementsByTagName("tr"); 有这样一句代码:var Dtr = document.getElementsByTagName("tr");alert(Dtr.length);怎么打印不出Dtr的数量?请高人帮我解决,谢谢! 解决方案 » 免费领取超大流量手机卡,每月29元包185G流量+100分钟通话, 中国电信官方发货 <html xmlns="http://www.w3.org/1999/xhtml"><head><meta http-equiv="Content-Type" content="text/html; charset=gb2312" /><title>bbbbbbbbbbbbbbbbb</title><script language="javascript"></script></head><body><script type="text/javascript"></script><form name="form1" id="form1" action="b.asp" method="post"><input name="submit" type="button" value="提交" onclick="sub_form(this.form);"/><input type="text" name="T1" id="T1" size="20"><input type="button" value="提交" name="B1" onclick="funcc()"><table> <tr> <td><input type="checkbox" onclick="func1(alert(this.rows[0].cellIndex))"> </td> <td><input type="checkbox" onclick="func1()"> </td> </tr> <tr> <td><input type="checkbox"> </td> <td><input type="checkbox"> </td> </tr></table><input type=checkbox name=chk1 Id=1><input type=checkbox name=chk1 Id=1><br>全:<input type=checkbox onclick=sel(1)><input type=checkbox name=chk2 Id=2><input type=checkbox name=chk2 Id=2><br>全:<input type=checkbox onclick=sel(2)></form><div id=test1 style='display=none'><table width="600" border="0" ><tr class="image_p_row"><td width="25%">111</td></tr></table></div><script language=javascript>var Dtr = document.getElementsByTagName("tr");alert('????');alert(Dtr.length);</script></body></html> Ext desktop 动态加载模块问题 ! iframe自适应高度问题? js问题 如何得到指定时间的不同时区时间? 一个脚本问题,好奇怪啊,我该怎么办,谁帮我解释一下啊?? 最近做个IC消费卡的项目,客户端怎么读写IC卡呢? AJAX调用后,innerhtml 连接失效 问题? 一个简单问题花了我一个星期了,还没解决,给50分求解 如何实现和QQ列表相反的功能,, 就是横向控制移动 怎样做一个粘贴文件文本的按钮? 如何在iframe里打开的网页中调用javascript函数 如何判断页面中是否含有INPUT
<head>
<meta http-equiv="Content-Type" content="text/html; charset=gb2312" />
<title>bbbbbbbbbbbbbbbbb</title>
<script language="javascript">
</script>
</head><body>
<script type="text/javascript"></script>
<form name="form1" id="form1" action="b.asp" method="post">
<input name="submit" type="button" value="提交" onclick="sub_form(this.form);"/>
<input type="text" name="T1" id="T1" size="20">
<input type="button" value="提交" name="B1" onclick="funcc()">
<table>
<tr>
<td><input type="checkbox" onclick="func1(alert(this.rows[0].cellIndex))">
</td>
<td><input type="checkbox" onclick="func1()">
</td>
</tr>
<tr>
<td><input type="checkbox">
</td>
<td><input type="checkbox">
</td>
</tr>
</table><input type=checkbox name=chk1 Id=1>
<input type=checkbox name=chk1 Id=1>
<br>
全:
<input type=checkbox onclick=sel(1)><input type=checkbox name=chk2 Id=2>
<input type=checkbox name=chk2 Id=2>
<br>
全:<input type=checkbox onclick=sel(2)>
</form>
<div id=test1 style='display=none'>
<table width="600" border="0" >
<tr class="image_p_row">
<td width="25%">111</td>
</tr>
</table>
</div><script language=javascript>var Dtr = document.getElementsByTagName("tr");
alert('????');
alert(Dtr.length);
</script>
</body>
</html>