I have the following JScript that simulates the browser back button:
<A href=\"javascript: history.go(-1);\">Go Back></A>
This works fine, but it leaves this code in the status bar when the user mouses over it.
So I tried adding this snippet of code to the script (which came out of the JS Bible) to overwrite the status message with my own:
onMouseOver=\"window.status=\'Go Back\'; return true\"
with the final code as:
<A href=\"javascript: history.go(-1);\" onMouseOver=\"window.status=\'Go Back\'; return true\">Go Back</A>
But I keep getting a script error. I suspect I am not adding in the second command correctly.
Any suggestions?