标签:func nbsp bsp 循环 this cti var cli each
$(‘#zhetenga‘).click(function(){
//this是被点击的#zhetenga
var that = this;
$(‘.zhetenga‘).each(function(){
//this是.zhetenga循环中当前的对象
//that仍然是刚才被点击的#zhetenga
});
});
标签:func nbsp bsp 循环 this cti var cli each
原文地址:http://www.cnblogs.com/xinfangzhang/p/6802147.html