forward method (history, window)
Loads the next page form the history list into the current window.
Works identically to the Forward button of the browser application. If no next page exists in the history, the forward method has no effect. The window.forward method is equivalent to the history.forward method, but the latter is only supported by Internet Explorer. Use it for cross-browser functionality.
If you want to go back in the window history list, use the back method. The go(1) can be used instead of the forward method.Note: in Internet Explorer, the Back and Forward buttons on the toolbar are not updated after the invocation of the back and forward methods.
You can find the related objects in the Supported by objects section below.
This method has no return value.
Example HTML code 1:
This example illustrates the use of the forward method:
Did you find this example helpful?
User Contributed Comments