`

两个页面之间的跳转

 
阅读更多
从a.html页面跳转到b.html页面,


a.html (完整)

<html>
<head>
<script language="javascript">
function a() {
	window.location("b.html");
}
</script>
</head>
<body onLoad="a()"></body>
</html>



a.html (简化)

<script>
	window.location("b.html");
</script>



b.html
<html>
	<head>
		<title>b</title>	
	</head>
	<body>
		b
	</body>
</html>
分享到:
评论

相关推荐

Global site tag (gtag.js) - Google Analytics