Stop setInterval call in javascript

Posted by cnu on Stack Overflow See other posts from Stack Overflow or by cnu
Published on 2008-09-20T19:29:55Z Indexed on 2010/05/16 14:10 UTC
Read the original article Hit count: 180

Filed under:

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.

© Stack Overflow or respective owner

Related posts about JavaScript