Solved

Anchor link to the previous history page

Posted on 1997-07-04
2
274 Views
Last Modified: 2009-07-29
I would like to have an anchor with an image attached that will when clicked return the user to the previous page in the browser's history (i.e. I want to simulate the BACK button) I have managed to use a form button like so:

<INPUT TYPE="button" VALUE="Previous Page"  
       onclick="history.back()">

However, I would like something link <A HREF="Don't know what goes here" onClick=history.back()> .... I know that it is the HREF="something" value that I would like to be replaced with the history.back value.

Any suggestions would be welcome.
Michael Ferreira
0
Comment
Question by:ferreimi
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
2 Comments
 

Accepted Solution

by:
ryanmc earned 20 total points
ID: 1268147
You would use
<a href="javascript:history.back();">Go back</a>
0
 

Author Comment

by:ferreimi
ID: 1268148
Thanks ... I could have sworn I tried that ... but it works now

0

Featured Post

PeopleSoft Has Never Been Easier

PeopleSoft Adoption Made Smooth & Simple!

On-The-Job Training Is made Intuitive & Easy With WalkMe's On-Screen Guidance Tool.  Claim Your Free WalkMe Account Now

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Suggested Solutions

Title # Comments Views Activity
Wordpress and Wufoo 1 40
Validating Date 4 30
Hide and Unhide Table 6 27
AngularJS: ng-repeat 25 28
The task A number given should be formatted for easy reading by separating digits into triads. Format must be made inline via JavaScript, i.e., frameworks / functions are not welcome. So let’s take a number like this “12345678.91¿ and format i…
This article discusses how to create an extensible mechanism for linked drop downs.
The viewer will learn the basics of jQuery, including how to invoke it on a web page. Reference your jQuery libraries: (CODE) Include your new external js/jQuery file: (CODE) Write your first lines of code to setup your site for jQuery.: (CODE)
The viewer will learn the basics of jQuery including how to code hide show and toggles. Reference your jQuery libraries: (CODE) Include your new external js/jQuery file: (CODE) Write your first lines of code to setup your site for jQuery…

730 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question