Skip to Main Content

Oracle Forms

Announcement

For appeals, questions and feedback about Oracle Forums, please email oracle-forums-moderators_us@oracle.com. Technical questions should be asked in the appropriate category. Thank you!

HTML code to close the window without prompting

748145Jan 16 2011 — edited Jan 17 2011
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
This post has been answered by alinzenb on Jan 17 2011
Jump to Answer
Comments
Locked Post
New comments cannot be posted to this locked post.
Post Details
Locked on Feb 14 2011
Added on Jan 16 2011
15 comments
701 views