網頁跳轉方法總結

1.直接嵌入js代碼:
<script type="text/javascript">
location.replace("http://www.brtn.cn");
</script>javascript


2.在<head>中,加入:
<meta http-equiv="refresh" content="0;url=http://www.baidu.com">java

相關文章
相關標籤/搜索