forward

HTML (DHTML)

forward Method

Internet Development Index

Loads the next URL from the History list.

Syntax

history.forward()

Return Value

No return value.

Remarks

This method performs the same action as when a user clicks the Forward button in the browser. Calling the forward method works the same as calling the go method with a parameter of 1. An error does not occur if the user tries to go beyond the end of the history. Instead, the user remains at the current page.

Standards Information

There is no public standard that applies to this method.

Applies To

history

See Also

back, go