[紧急]js光标定位问题?高手进
<head><script>function aa(){ document。getElementById("comment")。 focus(); scroll(0,0); }</script></head><body onload="aa()"> <tr> 显示content的内容 <br><br><br>显示content的内容 \<br><br><br>显示content的内容 <br><br><br>显...全部
<head><script>function aa(){ document。getElementById("comment")。
focus(); scroll(0,0); }</script></head><body onload="aa()"> <tr> 显示content的内容 <br><br><br>显示content的内容 \<br><br><br>显示content的内容 <br><br><br>显示content的内容 <br><br><br>显示content的内容 <br><br><br>显示content的内容 <br><br><br>显示content的内容 <br><br><br>显示content的内容 <br><br><br>显示content的内容 <br><br><br>显示content的内容 <br><br><br>显示content的内容 <br><br><br>显示content的内容 <br><br><br>显示content的内容 <br><br><br>显示content的内容 <br><br><br>显示content的内容 <br><br><br>显示content的内容 <br><br><br>显示content的内容 <br><br><br>显示content的内容 <br><br><br></tr> <tr> <input type="text" id="comment"> </tr> </body> 你把上面的代码试一下,会看到你想要的效果,不过我写的基本都是你的代码啊,就是把JS的方法名换了,把ONLOAD方法写在了BODY上,你试试看。收起