Method: history.forward()

Availability

BlackBerry® Device Software version 3.8 or later

The forward() method displays the next element in the BlackBerry® Browser History list. This method is functionally equivalent to the user clicking Forward in the BlackBerry Browser menu, or specifying History.go(1).

Syntax

history.forward()

Parameters

None.

Return values

None.

Exceptions

None.

Examples

The following code fragment adds a custom button to an HTML page that displays the next item in the History list:

<INPUT TYPE="button" VALUE="Forward" onClick="window.history.forward()">


Was this information helpful? Send us your comments.