摘要: 通过jQuery的closest方法实现点击弹框以外的部分关闭弹框。 closest() 方法返回被选元素的第一个祖先元素。具体用法:https://www.runoob.com/jquery/traversing-closest.html 1 $(document).ready(function( 阅读全文
posted @ 2020-02-23 23:35 Quark_L 阅读(1347) 评论(0) 推荐(0)