美文网首页
6-jQuery方法之filter not has

6-jQuery方法之filter not has

作者: Stago | 来源:发表于2017-03-23 19:50 被阅读0次

filter : 过滤
not : filter反义词

都会变红 只有div1变红 只有div2变红

has : 包含


只有含有span的div1变红

filter , not 针对被筛选元素
has 针对筛选的变量


只有div1变红 只有div2变红

相关文章

网友评论

      本文标题: 6-jQuery方法之filter not has

      本文链接:https://www.haomeiwen.com/subject/iomtottx.html