When writing HTML how do I add a link on the page which does the same as clicking Back on IE...
Woka
Printable View
When writing HTML how do I add a link on the page which does the same as clicking Back on IE...
Woka
With history.go the parameter value determines how far back to go, history.go(0) will reload the current page,history.go(-2) will go back 2 pages(if there arent two historical pages in the browser session then it will go to the first visited page).Code:<a href="javascript:history.back();">go back</a>
or
<a href="javascript:history.go(-1);">go back</a>
--
Anglo Saxon
Quote:
Please click the back button on your browser.