jquery问题,如何调用带this的函数?

这样写:

1
2
3
4
5
6
7
8
9
10
11
12
$(".aa").on("mouseout",function(){
    var obj = $(this);
    setTimeout(function(){
    rc(obj);
},1000);
})
 
function rc(obj){
    obj.removeClass("bb")
}
 
 
原文地址:https://www.cnblogs.com/tongzhou/p/6795649.html