Quote:
Originally Posted by Nicow
Thanks ![Tongue](images/smilies/razz.gif)
The refresh function is called via setTimeout
But i don't see any clearTimeout to stop the function, maybe the timer is called several times and is never stopped. I tried to fix it but i'll try again, if i can solve that i'll pm you.
|
The timer is self-stopping. setTimeout only gets called after checking if the user is still on the server page and hasn't closed it. Otherwise the function is stopped and the timer gets killed.