Loads a previous URL from the History list.
Syntaxvar retval = history.back(pvargdistance);
- pvargdistance [in, optional]
Type: VariantInteger that specifies the number of URLs to go back. If no value is provided, the previous URL is loaded.
If this method succeeds, it returns S_OK. Otherwise, it returns an HRESULT error code.
There are no standards that apply here.
This method performs the same action as a user clicking the Back button in the browser.
The back method works the same as history.go(-1).
An error does not occur if the user tries to go beyond the beginning of the history. Instead, the user remains at the current page.
Build date: 12/16/2013