从a.html页面跳转到b.html页面,
a.html (完整)
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>