back Method

MS Office DHTML, HTML & CSS

 
Click to return to the DHTML, HTML & CSS home page    
autoscan Method     blur Method     DHTML Methods    

back Method


Loads a URL from the History list.

Syntax

history.back([iDistance])

Parameters

iDistanceOptional. 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 when a user clicks 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.

Applies To

[ Object Name ]
PlatformVersion
Win16:
Win32:
Mac:
Unix:
WinCE:
Version data is listed when the mouse hovers over a link, or the link has focus.

history

See Also

forward, go


Back to topBack to top

Did you find this topic useful? Suggestions for other topics? write us!Internet Link

© 1999 microsoft corporation. all rights reserved. terms of useInternet Link.