摘要: 要写一个点击弹窗任意地方,关闭弹窗。点击事件写标签在元素上 onclick = closepop(this),这时候很容易搞不清楚怎么去获取当前元素 function closepop(e){ var $this =$(e); $this.fadeOut(); } // this其实是一个Html 阅读全文
posted @ 2017-11-06 20:59 柠夏 阅读(665) 评论(0) 推荐(0)