Method: history.back()
Availability
|
BlackBerry®
Device Software version 3.8 or later
|
The back() method displays the previous URL in the BlackBerry® Browser
History list. This method is functionally equivalent to the user clicking Back in the BlackBerry Browser
menu or clicking the Escape key during a browser session, or specifying History.go(-1).
Examples
The following code fragment adds a custom button to an HTML page that displays the previous item in the History list:
<INPUT TYPE="button" VALUE="Back" onClick="window.history.back()">
Was this information helpful? Send us your comments.