I have a page that has a tag <body onload="setInterval('window.location.reload()', 60000);"> that causes the page to refresh every 1 minute.
I want to make a button (PAUSE) that, when clicked, cancels the refresh.
I have tried the following, but it does not work:
window.onload= function () {};
Use clearInterval()
In your script:
In the body