JavaScript Reference/Javascript Objects/history
Содержание
"history" Example
<html>
<head>
<script language="JavaScript">
function function1(){
history.back(1);
}
</script></head>
<body>
<input id="myButton"
type="button"
onclick="function1();"
value="Go back 1 step in the history list">
</body>
</html>
"history" is applied to
+----------------+--------------------------------------------------------------+
| Applied_To |window |
+----------------+--------------------------------------------------------------+
"history" JavaScript Methods
+----------------+--------------------------------------------------------------+
| JavaScript |back forward |
| Methods |go |
+----------------+--------------------------------------------------------------+
"history" JavaScript Properties
+----------------+--------------------------------------------------------------+
| JavaScript |length |
+----------------+--------------------------------------------------------------+
"history" Syntax and Note
Note:
Navigate through previously visited web pages.
Syntax:
window.history.memberName