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 stop javascript when a modal window is opened?

tdobeJan 29 2022

Hi,
I have a page where I do something using javascript, I do it every certain interval:
setInterval(function () {
foo();
}, 6000);
I also have a button on this page to open new modal window, how to make javascrypt function not execute for the time of opening this window?
Anyone have any ideas?
Apex 21.2

This post has been answered by InoL on Jan 30 2022
Jump to Answer
Comments
Post Details
Added on Jan 29 2022
4 comments
897 views