1. Page jump
The page jump occurs when the object is clicked.
(1) Create a link and click to open a new web page.
<input type=button onclick=”window.open(‘连接’)“>
(2) Create a page refresh, click to jump to this page.
<input type=button value=刷新 onclick=”window.location.reload()“>
<input type=button value=刷新 onclick=”window.history.go(0)“>
(3) Create a forward event, click to make the current page jump to the next page.
<input type=button value=前进 onclick=”window.history.go(1)“>
(4) Create a back event, click to make the current page jump to the previous page.
<input type=button value=后退 onclick=”window.history.go(-1)“>
(5) Create an event, click to make the current page jump to the specified page.
<input type=button value=designated page onclick=”location='designated page'”>