如何通过写javascript代码不用点击就能激活页面上的超链接?同上。谢谢。[解决办法] htmla href http://
如何通过写javascript代码不用点击就能激活页面上的超链接?
同上。谢谢。
[解决办法]
<html>
<a href= "http://hi.baidu.com/aaxh "> aaxh </a>
<script>
document.getElementsByTagName( "a ")[0].click();
</script>
</html>
