摘要: 1.this 、$this 、$(this) 打印结果 因此:this其实是一个html 元素;$(this)是一个JQuery对象 用法:this.id="test" ; $(this).attr("id","test"); $this:在jQuery中声明一个变量 阅读全文
posted @ 2018-11-15 14:25 南山湖畔 阅读(212) 评论(0) 推荐(0) 编辑