history.forward
In this chapter you will learn:
Forward a step
history.forward()We can use history.forward()
method to go one step forward.
history.forward()
mimics the browser Forward button.
<!DOCTYPE HTML> <!-- j ava 2 s . c om-->
<html>
<body>
<script type="text/javascript">
//go forward one page
window.history.forward();
</script>
</body>
</html>
Next chapter...
What you will learn in the next chapter:
Home » Javascript Tutorial » History