function del() {
$('xxx').eq(0).trigger('click');
$('xxx').trigger('click');
}
function dels() {
var t = setTimeout(function(){
del();
clearTimeout(dels);
dels();
},2000);
}
dels();
function del() {
$('xxx').eq(0).trigger('click');
$('xxx').trigger('click');
}
function dels() {
var t = setTimeout(function(){
del();
clearTimeout(dels);
dels();
},2000);
}
dels();
本文标题:jq 定时器
本文链接:https://www.haomeiwen.com/subject/edwhlqtx.html
网友评论