且构网

分享程序员开发的那些事...
且构网 - 分享程序员编程开发的那些事

停止和删除jQuery计时器

更新时间:2023-12-04 08:37:34

所以我发现基于通用标签而不是使用标签来停止计时器效果***.

So I figured out that stopping the timers based on the generic tag versus using the label worked best.

//stop timers
  $("#timer01, #timer02").click(function(){
    $("a").stopTime();
    $("p.countdown span").remove();
  });