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
Microsoft PKI Design
Give public access to our wireless network?
how to install and configure new GPFS cluster in AIX LPAR Workload environement?
Congratulations to new Excel Genius: teylyn
Auto Send Excel as Email Attachment
How to add scriptaculous to Wordpress Site?
How convert this c++ code to csharp
Cannot Create a Fax Account in Windows 7
Trimming the beginning and end of a string
Block Logme internally