Log in

View Full Version : Simple Question



ChampJames.
28-02-2008, 08:18 PM
I feel stupid asking this quesiton, but I won't find out any other way :).

I just want a button that takes the visitor back to the page they were previously visiting.

It will probably be text similar to this -- '<<--Go Back'

What code should I use to make it work as a hyperlink back to the previous page?

wewt
01-03-2008, 02:26 PM
<a href="javascript: history.go(-1)">Go Back</a>

ChampJames.
02-03-2008, 12:19 AM
Thanks :)

+rep

Want to hide these adverts? Register an account for free!