Name
History.back( ): return to the previous URL â JavaScript 1.0
Synopsis
history.back( )
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 clicking on the browserâs
Back button. It is also
equivalent to:
history.go(-1);
Get JavaScript: The Definitive Guide, 5th Edition now with the O’Reilly learning platform.
O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.