1
votes

I call an application process in my oracle apex page and displayed a wait popup before calling the application process using the code

apex.widget.waitPopup();

It works fine and then I want to remove the wait popup after the process is completed, so I used the code

$("#apex_wait_popup").remove();  
$("#apex_wait_overlay").remove();  

But the remove code doesn't works. What might be the reason?

1

1 Answers

3
votes

As you're on Apex 5, Jorge Rimblas says here that you should use the remove() function. Have a look, try it.

var $wP;

setTimeout(function(){
    $wP = apex.widget.waitPopup();
}, 10);

  // do long running "stuff"

$wP.remove();