JavaScript: The Definitive Guide

Previous Chapter 21
JavaScript Reference
Next
 

History.back() Method

Name

History.back() Method---return to the previous URL

Availability

Navigator 2.0, Internet Explorer 3.0

Synopsis

history.back()

Arguments

None.

Returns

Nothing.

Description

back() causes the window or frame to which the History object belongs to revisit the URL (if any) that was visited immediately before the current one. Calling this method has the same effect as a user's click on the Navigator Back button. It is also equivalent to:

history.go(-1);

See Also

"History", "History.forward()", "History.go()"


Previous Home Next
History Book Index History.current

HTML: The Definitive Guide CGI Programming JavaScript: The Definitive Guide Programming Perl WebMaster in a Nutshell