Stop setInterval call in javascript
- by cnu
I am using setInterval(fname, 10000); to call a function every 10 secs in javascript. Is it possible to stop calling the calling on some event?
I want the user to be able to stop the repeated refresh of data.