I have the following:
window.setTimeout(function() {
window.location.href="https://stackoverflow.com/questions/1472705/file.php";
}, 115000);
How can I, via a .click function, reset the counter midway through the countdown?
I have the following:
window.setTimeout(function() {
window.location.href="https://stackoverflow.com/questions/1472705/file.php";
}, 115000);
How can I, via a .click function, reset the counter midway through the countdown?