I am using setInterval(fname, 10000);
(我正在使用setInterval(fname, 10000);
)
(在JavaScript中每10秒调用一次函数。)
Is it possible to stop calling it on some event?(是否可以在某个事件中停止调用它?)
I want the user to be able to stop the repeated refresh of data.
(我希望用户能够停止重复刷新数据。)
ask by cnu translate from so