JavaScript Example Go-Back Page

       

You probably came to this page from a Javascript example, now go back .

Accessing the Client's Back Button

That was a sneaky example of how to use Javascript to access the clients history and essentially press the viewer's back button. All you need to do is replace the URL in the HyperLink with:

"javascript:history.go(-1)"

Your HTML should then look like this:

<A HREF="javascript:history.go(-1)">[text]</A>

Back to the last page | JavaScript Page