You are viewing an old version of this page. View the current version.

Compare with Current View Page History

Version 1 Next »

clearTimer() can stop the running timer based on the variable. Below code shows the simple example to stop running timer

myVar = setTimeout(function, milliseconds);
clearTimeout(myVar);


  • No labels