JavaScript: The Definitive Guide

25.141. History.back( ): return to the previous URL

JavaScript 1.0

25.141.1. Synopsis

history.back( )

25.141.2. 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);

Категории