两个页面之间的跳转

从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>

你可能感兴趣的:(跳转)