var $this=$(this)
2 回答

qq_韩小明_03180877
TA贡献13条经验 获得超4个赞
$this是js里的变量,js的语法结构里变量可以使用$符开头,$(this)表示的是当前对象,(就是当前操作的节点)
var $this=$(this);
这个意思是把当前对象付给一个变量 。
- 2 回答
- 0 关注
- 1264 浏览
添加回答
举报
0/150
提交
取消