punchxcore
01-12-2012, 04:05 AM
I tried to use the script to return the user to the previous page by clicking the link, and it did work, however, it would return me to the previous website I visited and not just the previous page within my site. Is there a way to override it by changing the code or is the code definitive?
This was the code I had tried to use:
<a href="javascript:history.go(-1)">Back</a>
This was the code I had tried to use:
<a href="javascript:history.go(-1)">Back</a>