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
Appointment booking app or service for field engineers?
Sharepoint custom workflow status permissions
Dell Latitude Laptop - Will Not Shutdown, Startup Slow
Server 2008 NLB problem
How to Populate a ListBox Control with Values from an Access Database Table
redirect on session expiration?
to perform save after app deploy using jython scripts
Create linked server from MS Sql to oracle server
Use .NET or SSIS to download Exhange email and process attachments
Lotus Notes 8.5