Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations gkittelson on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

history.go(-1) question

Status
Not open for further replies.

tagid

Programmer
Sep 26, 2002
8
US
Can someone show me the code for putting a link on a page that when clicked, it re-displays the previous page.

Thanks
 
<a href=&quot;javascript: history.back()&quot;>Go Back</a> -- What did you expect? This is FREE advice. LOL[ponder]
 
You can also use
Code:
history.go(-1)
which gives you the chance to go back or forward however many pages you want.
 
Oh, I'll look at the title for the post next time, shall I?
[lol]
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top