History 'forward()' Example : History « Window Browser « JavaScript DHTML
- JavaScript DHTML
- Window Browser
- History
History 'forward()' Example
<html>
<body>
<script language="JavaScript">
function function1() {
history.forward();
}
</script>
<a href="http://www.java2s.com">Open a new document to build the history object</a>
<input type="button" value="Go forward" onclick="function1();">
</body>
</html>
Related examples in the same category