Information
The topic you requested is included in another documentation set. For convenience, it's displayed below. Choose Switch to see the topic in its original location.

back method

Loads a previous URL from the History list.

Syntax

var retval = history.back(pvargdistance);

Parameters

pvargdistance [in, optional]

Type: Variant

Integer that specifies the number of URLs to go back. If no value is provided, the previous URL is loaded.

Return value

Type: HRESULT

If this method succeeds, it returns S_OK. Otherwise, it returns an HRESULT error code.

Standards information

There are no standards that apply here.

Remarks

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.

See also

history
Reference
forward
go

 

 

Show:
© 2014 Microsoft