Hi,
On a HTML page, I have a button labeled as "Close". When user click the button, I want to close the browser. I am using Apex 4 with 10g.
I created the following process which I call on pressing the close button:
BEGIN
htp.p('<body>');
htp.p('<script type="text/javascript">');
--htp.p('window.opener.doSubmit();');
htp.p('window.close();');
htp.p('</script>');
htp.p('</body>');
END;
But it shows the below in the browser instead of closing it.
Location: f?p=17638:9:3591448756041585::NO
Any wayout?
Thx