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
Error message when replying, sending, openning email in OWA
exiting users from database
Can't connect to local MySQL server through socket
Is there a user_packages table synonymous to the user_tables table?
Can't access variable in code behind page
BES and NSPI connections
accessing sonicwall via browser from multiple subnets within same LAN
asp.net connection string error.
Thumbnail Photo on Exchange 2007
Designing Luns and datastores