I have the following:
window.setTimeout(function() { window.location.href = '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 = 'file.php';}, 115000);
How can I, via a .click function, reset the counter midway through the countdown?