Back button (browser) and close Browser code

liunx

Guest
I am looking for the code to include with a button that will act like my back button. I do not want to use the page such as addorder.asp. I am looking for the code for the back button.<br />
<br />
Also I am looking for the code to completely close a browser for my close button.<!--content--><a href=http://www.htmlforums.com/archive/index.php/"#" onClick="history.go(-1)">back</a><br />
<br />
<a href=http://www.htmlforums.com/archive/index.php/"#" onClick="self.close()">close</a><br />
<br />
Now, the close code with warn the user if you have not opened the window with javascript. Otherwise, it will just close.<!--content-->
 
Back
Top