Hi,
I am working on the IE7 bowser. when i close(exit) the browser. i want to need a conformation.
I have written the below code but its working in IE6 only.
code :
<html>
<head>
<script type="text/javascript">
window.onbeforeunload=function(){
if (window.event.clientY < 0 && (window.event.clientX > (document.documentElement.clientWidth - 5) || window.event.clientX < 15) ) {
alert("closing window");
}
}
</script>
</head>
<body>
test
</body>
</html>
pls help me out