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 TouchToneTommy on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

creating a BACK button 1

Status
Not open for further replies.

Dre313

Technical User
Jun 4, 2003
219
US
A friend of mines was telling me.. that there was a way to create a button or link for the user to click back.. and it would go to the previous page without loosing history of the forward.

what i mean is.. i want to create a button like the one you see in your tookbar the "back" button .. when you clikc back theres an option to click forward.. but if you make a link.. which most likely you link it to the previous page .. which clears history of the forward button.

he was telling me something about.. history -1
I searched google and can not find it... is there anyone out there who knows what im talkin about ??

thanks
 
try

<a href=&quot;javascript:history.go(-1)&quot;>&lt;&nbsp;Go Back</a>

:) rockyroad
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top