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!

How to close the popup window after PL/SQL execution?

Jian-cdoJan 22 2016 — edited Jan 25 2016

Hello,

A junior question to consult: we use APEX 5.0.2

On a Modal Dialog page (from an Interactive report), for button Create, I created a dynamic action that runs specific PL/SQL code to insert new item.  Then behind the insert clause, I have these code to close the popup window, while it successfully execute the insert clause without closing the window.  Please let me know what else I can do.  Thanks.

htp.p('<script>');

htp.p('window.opener.location.reload();window.close();');

htp.p('</script>');

Regards,

Jian

This post has been answered by Jian-cdo on Jan 25 2016
Jump to Answer
Comments
Locked Post
New comments cannot be posted to this locked post.
Post Details
Locked on Feb 22 2016
Added on Jan 22 2016
9 comments
2,202 views