www.fgks.org   »   [go: up one dir, main page]

Click to Rate and Give Feedback
Methods
 back Method
back Method

Loads a previous URL from the History list.

Syntax

history.back( [iDistance])

Parameters

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

Return Value

No return value.

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.

Standards Information

There is no public standard that applies to this method.

Applies To

history

See Also

forward, go
Tags What's this?: Add a tag
Community Content
 
Add Community Content
© 2008 Microsoft Corporation. All rights reserved. Terms of Use  |  Trademarks  |  Privacy Statement
Page view tracker
DCSIMG