<!DOCTYPE html>
<html>
<head>
<meta charset="utf-8">
<title>007</title>
</head>
<body>
007 page!
<input type="button" value="后退到上一个页面" onclick="window.history.back()" />
<input type="button" value="后退到上一个页面" onclick="window.history.go(-1)" />
<input type="button" value="前进到上一个页面" onclick="window.history.go(1)" />
</body>
</html>
JS中BOM编程:window对象的history对象的go和back方法
最新推荐文章于 2022-11-16 12:44:36 发布