Jump to content

history.back


joecool2005
 Share

Recommended Posts

I think you need to put a 1 inside the perentheses, and you can put the javascript in the hrefinstead of the onclick:

<a href="javascript:history.back(1)">Please try again</a>

or if you have to use document.write:

document.write("<a href=\"javascript:history.back(1)\">please try again</a>")

There ya go :)LG

Link to comment
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
 Share

×
×
  • Create New...