I have a question regarding a javascript that i have attached to my html.
Everything works well, except for the moment on which the javascript such function.
This is the problem:
I have an external javascript, set to launch the last page visited based upon a cookies information.
I've attached the .js to an html page like this:
What i want to do, is have the javascript execute when somebody presses the "back" text on the html.
What it does now is return to the previous page upon opening straight away.
How can i make this work the right way?
Everything works well, except for the moment on which the javascript such function.
This is the problem:
I have an external javascript, set to launch the last page visited based upon a cookies information.
I've attached the .js to an html page like this:
Code:
<script LANGUAGE="javascript" SRC="cookie.js"></script>
What i want to do, is have the javascript execute when somebody presses the "back" text on the html.
What it does now is return to the previous page upon opening straight away.
How can i make this work the right way?