Hi All,
Can you anyone to correct me to the following code to close the window without any prompting while exit from the menu.
<html>
<head>
<script type="text/javascript">
var windowClose = window.close;
window.close = function ()
{
window.open("","_self");
windowClose();
}
</script>
</head>
<body onload="window.close()">
please close/exit this browser session immediately.
</body>
</html>
I have used the following code to run the close.htm file
web.show_document('/forms90/html/close.htm','_self');
Arif
Edited by: Arif-8873427 on Jan 16, 2011 12:04 AM