-
Back Button
Hello Again:
I want to thank all that reply.
Is there a way that I can create my own button, but have it do the samething the back button on Internet Explorer does.
This way if I show a picture from something in a list all that the client will have to do is click on my back button and they will be brought back to the same screen that they was. (They won't have to restart at the top of the list again.
Thank you for your help.
David M. Camp
-
Code:
<a href="#" onclick="history.back(); return false;">Back</a>
Or if you want to use JavaScript to write it so that only people with JavaScript will see the link (the better way to do it):
Code:
<script type="text/javascript"><!--
document.write('<a href="#" onclick="history.back(); return false;">Back</a>');
document.close();
//--></script>
-
-
Yeah I was going to mention that but I was too lazy :p
Is one of them the official way to do it, and one the proprietry way or something? Or do they just have to methods for the same result?