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!

Can't call javascript to refresh parent page after pop up edit window closes

Jian-cdoApr 5 2016 — edited Apr 6 2016

Hello,

I have this form window that allow user to update each of row of the report.  Since it involves  multiple tables, I have a couple of dynamic actions of the button (click to apply the changes) to do data update and close the dialog. But after the window is closed, the parent report page is not automatically refreshed.  I tried to add this line into the PL/SQL code that has update statement, it always reports syntax error on #P30_region_id, which is the real static ID value of the region in parent report page:

htp.p('parent.$('#P30_region_id').trigger('apexrefresh');');

Then, I created a javascript function, try to call it in another dynamic action of the button , but nothing happens, no error either.

    function refreshParentPage(){

        parent.$('#P30_region_id').trigger('apexrefresh');

    }

Anything else I can try?  Thanks!

Sincerely,

This post has been answered by Jian-cdo on Apr 6 2016
Jump to Answer
Comments
Locked Post
New comments cannot be posted to this locked post.
Post Details
Locked on May 4 2016
Added on Apr 5 2016
1 comment
601 views