Previous Page

J

John Prescott

How can I give the user the facility to go back to the previous page
without having to ask him to press the back button

Regards, John Prescott

Paymaster Systems Ltd,
Moorlands House, Oldfield Road, Bromley, Kent. BR1 2LE
TEL: 020 8467 6107 FAX: 020 8467 6121
e-mail: (e-mail address removed) website <http://www.oursite.co.uk>
 
G

Guest

In code view, where you want the button, insert:

<FORM>
<INPUT TYPE="button" VALUE="Back" onClick="history.go(-1)">
</FORM>
 
T

Tom J

John Prescott said:
How can I give the user the facility to go back to the previous page
without having to ask him to press the back button

<p align="center"><button type="button" onclick="history.go(-1)"><font
color="#0000FF">Go Back</font></button>
That's the way I do it.Tom J
 
W

Wally S

<a href="javascript:window.close()">Back</a>

You can change "back" to any label you want.

Wally S
 
A

Andrew Murray

the code below closes a window; not return to the previous page....and not
what the OP was asking. If only one browser window is open it will close
that browser session.
 
G

Guest

I just found out that:
<a href="#" onClick="history.go(-1)">Back</a> Makes you go back and <a
href="#" onClick="history.go(1)">Forward</a> Makes you go forward.

If these helped you, click on the post that answered your question and at
the bottum
It wil say 'Did this answer your question?' then click yes.
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top