Skip to Main Content

APEX

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!

Close popup not working

565262Apr 23 2008 — edited May 2 2008
Hi,

I have several popups in my app which are called in exactly the same way and have a process to close them that are exactly the same (which runs when a 'cancel' button is pressed). While most of these work fine one of my popups does not close when the cancel button is hit. I really can't see any difference in the processes or how they are called. I even copied the 'close popup' process from the page that works to the one that doesn't and also tried removing all conditions (including when 'cancel' is hit) and it still doesn't work. Could there be some difference in the set-up of the page that may be causing it to work in some pages or not others? I'm really stuck!

Here is the process, it is set to run On submit - after computations and validations.

BEGIN
--closes this popup window
htp.p('<body>');
htp.p('<script type="text/javascript">');
htp.p('alert("hello");');
htp.p('window.close();');
htp.p('</script>');
htp.p('</body>');
END;

Thanks!
Lucy
Comments
Locked Post
New comments cannot be posted to this locked post.
Post Details
Locked on May 30 2008
Added on Apr 23 2008
4 comments
2,088 views