View Full Version : Internet back command???? HELP
Frankenberrie
05-19-2004, 02:31 PM
Does anyone know the HTML code for back. To explain, I want to make a button on my page that says BACK. When it is pressed it will act just like the Back button on internet explorer.
Thanks for the help.
BoNfiRe
05-19-2004, 03:01 PM
Does anyone know the HTML code for back. To explain, I want to make a button on my page that says BACK. When it is pressed it will act just like the Back button on internet explorer.
Thanks for the help.
OK try this....
<input type=button value="Back" onClick="history.go(-1)">
that will be a button back link
or this ......
<a href="#" onClick="history.go(-1)">Back</a>
That is a text back button
and finally ....
<a href="#" onClick="history.go(-1)"><img src="images/your_back_button" border="0"></a>
There ya go all quite simple really, and hope it helps.
Frankenberrie
05-19-2004, 03:23 PM
Excellent!!! Thank you so much... I used this one, worked like a charm!
<a href="#" onClick="history.go(-1)">Back</a>
vBulletin® v3.8.4, Copyright ©2000-2012, Jelsoft Enterprises Ltd.