I need my web page to periodically poll the server to get new information every 10 seconds. I have a timer setting (setTimeout) to call the AJAX function to get the data. Upon completion, the AJAX function sets a timer for another 10 seconds.
The problem is that Firefox constantly displays the βPage Load Indicatorβ (Throbbing).
How to periodically poll for new data, but stop the pulsation?
PS If I press the ESC key, the ripple will stop and the timer will continue to move, so this is a rough solution to the problem. I need a way not to enable / embarrass the user.
source share