会员
周边
众包
新闻
博问
闪存
所有博客
当前博客
我的博客
我的园子
账号设置
简洁模式
...
退出登录
注册
登录
月月木有小情绪
此博客文章多为本姑娘学习笔记!有不对的地方还望指正!!!么么哒
博客园
首页
新随笔
联系
订阅
管理
2017年8月15日
关于this和$(this)
摘要: $(this)是jquery对象 指当前dom 例如 <div class='a'>4343</div> $('.a').on('click',function(){ $(this).hide()}) $(this)指的就是<div class='a'>4343</div>这行代码 this是js的
阅读全文
posted @ 2017-08-15 21:12 月月木有小情绪
阅读(170)
评论(0)
推荐(0)
编辑
公告