Back button using Javascript that works in Chrome

Creates a link to show the previous page which works in Chrome as well as other browsers.

Place the function in the :


 Then create a link to call the function and load the previous page:

Previous Page

¬†Without the “return false” in the function the back button doesn’t work in Chrome.

Recently I have had problems with Chrome and the above solution as well.

What worked for me in the end was:

<a href="#" title="Previous Page" onclick="history.go(-1);event.preventDefault();">Back</a>