EN
이 콘텐츠는 한국어로 제공되지 않아 영어 버전으로 표시됩니다.
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
Send comments about this topic to Microsoft
Build date: 11/27/2012
