?
Solved

Anchor link to the previous history page

Posted on 1997-07-04
2
Medium Priority
?
282 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 80 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

On Demand Webinar - Networking for the Cloud Era

This webinar discusses:
-Common barriers companies experience when moving to the cloud
-How SD-WAN changes the way we look at networks
-Best practices customers should employ moving forward with cloud migration
-What happens behind the scenes of SteelConnect’s one-click button

Question has a verified solution.

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

Introduction HTML checkboxes provide the perfect way for a web developer to receive client input when the client's options might be none, one or many.  But the PHP code for processing the checkboxes can be confusing at first.  What if a checkbox is…
Today, the web development industry is booming, and many people consider it to be their vocation. The question you may be asking yourself is – how do I become a web developer?
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…
Suggested Courses

752 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