asp.net.ph

Skip Navigation Links

back Method

DHTML Methods


Loads a URL from the History list.

Syntax

history.back (  [ iDistance ] ) 
Parameters

iDistance Optional. Number of URLs to go back. If no value is provided, the previous URL will be 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 is the same as history.go ( -1 ). Trying to go past the beginning of the history does not generate an error. Instead, you remain at the current page.

Applies To

history

See Also

forward, go



© 2025 Reynald Nuñez and asp.net.ph. All rights reserved.

If you have any question, comment or suggestion
about this site, please send us a note