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
WMIC Get Make, Model and Serial Number
Session Timeout during Session
MS Dynamics 4.0 Outlook Configuration - Microsoft Dynamics CRM server is not available
Netapp - increased LUN volume - resized to gain space - but windows server has not picked up change - what am i Missing please
Website doesnt display correctly in IE7
Application user
Resource Booking in Outlook 2003/07
Installing Small Business Server 2008 trail
Google apps Cname
Prevent users from sending emails to all users group lotus notes