62,047
社区成员
发帖
与我相关
我的任务
分享
jQuery Timers 是一个用来封装 setTimeout 和 setInterval 方法的 jQuery 定时器插件。
示例:
$("#close-button").click(function() { $(this).oneTime(1000, function() { $(this).parent(".main-window").hide(); });});$("#cancel-button").click(function() { $("#close-button").stopTime();});