/

HTML / CSS / JavaScript Tutorial

JavaScript History method: forward()

[this page | pdf | back links]

The forward() method (when applied to History objects in the JavaScript BOM) loads the next URL in the history list. It is the same as clicking the forward button in the browser or applying the history.go(1) method.

 

It has the following syntax with no parameters. It does not return a value.

 

history.forward()

 


NAVIGATION LINKS
Contents | Prev | Next | JavaScript DOM (and BOM)


Desktop view | Switch to Mobile