I am doing a little app in javascript that has some timers around. At some point I need to change the variables that a single timer is using during runtime.
I tried
var t1; t1 =setTimeout("dosomethig",1000) //1000 = 1 sec clearTimeout(t1); // to release timeout