var myVar; function myFunction() { myVar = setTimeout(function(){ alert("Hello"); }, 3000); } function myStopFunction() { clearTimeout(myVar); }
var
This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)