Microsoft
Software
Hardware
Network
Question : javascript redirect when onunload
I'd like my page to redirect a user to a specific page onunload. Like this:
<body onUnload="window.location = '
http://www.google.com/'
">
but this doesn't really seem to be working. Any ideas?
Thanks
Answer : javascript redirect when onunload
first try this:
<body onunload="alert('sad')">
if got alert then it should work.
<script>
function Redirect() {
var where=URL TO BE REDIRECTED TO;
window.location=where;
}
</script><body onUnLoad="Redirect()">
Random Solutions
OWA - The certificate is not valid for the requested usage
To Lock my pendrive
Globally Hide Mouse after Inactive without using constantly running Timer Interval
Having issues converting Physical ISA server to Virtual Server
Ubuntu svn: Network connection closed unexpectedly
OWA will not work for mailbox in non-internet facing AD site
NAT on ASA to a remote server
visual studio 2005 express
how to implement a elliptic curve cryptocraphy in java?
Info@... users Not receiving email