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
SBS 2008 Console crashes on Network Devices
are there any inherent issues introducing a server 2008 system into a predominantly 2003 network?
Upgrading graphic card ATI Radeon X1650 Pro (RV530)
Creating a Document by selecting various paragraphs
How to Backup Ubuntu Server 8.10
How to Installing SQL-DMO on sql 2008
how to export the SSL certificate from Microsoft exchange 2003 in the .p12 format for mobile phone HTC Desire
htaccess modrewrite Urls
Shared calendar does not show appointments until refreshed
How to find CD Burning folder path in c# and operating system as a XP?