Skip to content
Advertisement

JQuery increase wait time before it throws error in my code

I would like to be able to increase the waiting time before an error is displayed in my code of this script… but I don’t have much idea how to do it…

It is assumed that when opening the modal sometimes it opens very quickly and the server shows an error…

This opening modal is from a gateway in Ecuador…

JavaScript

Advertisement

Answer

use setTimeOut function to wait for. An example of this can be

JavaScript

5000 means 5 seconds

User contributions licensed under: CC BY-SA
4 People found this is helpful
Advertisement