87,910
社区成员
发帖
与我相关
我的任务
分享
document.location.href = document.getElementById("autolink").href;
<a href="http://www.baidu.com" id='autolink'>百度</a>
<script type="text/javascript">
document.location.href = document.getElementById("autolink");
</script>