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

Compare with Current View Page History

« Previous Version 4 Next »

clearTimeout() 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