setTimeout里如果有$(this),$(this)指的是谁? $(".next").click(function(){ setTimeout(function(){$(this).addClass("gray");//指向的是window 而不是$(".next") },1000); })