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
google maps - satellite pics
jQuery tooltip on form input image hover
Microsoft Information Store stalling issues
PHP Warning: Cannot modify header information
LDAP Query for Pulling lastLogonTimestamp and dateCreated attributes from AD User Account
OWA freezes attaching large files to an email
Sharepoint Template - How to open & Navigate
DAG & CAS array configured but it's not failover
Export data from a ODBC table
Audit Report Generation SharePoint Content Viewing