Hii ..
I have been building a database for my office, I use php mysql and connected via intranet.
I would like to have a popup window while user close the internet explorer/exit from database. I have copied a javascript script from
http://www.javascript-coder.com/wind...dow-open.phtml ,below :
<html>
<head>
<script language="JavaScript">
function MyExit() {
window.open('thankyou.html');
}
</script>
</head>
<body onUnload="MyExit();">
your main page...
</body>
</html>
but when I close my ie window, there's no popup window appeared.
Could somebody explain what's wrong with this code? or something wrong with my ie (I have enabled javscript in ie option).
Thank you in advance