一、jq选择器 == css选择器

jquery选择器


jq基本选择器=标记、ID、类、并集、全集

jquery选择器

jquery选择器

jquery选择器

jquery选择器

jquery选择器

jquery选择器


二、jq高级选择器=层次、属性、过滤(相当于CSS中的结构伪类)

1. jq高级选择器之层次选择器

jquery选择器

jquery选择器

jquery选择器

jquery选择器

jquery选择器


2. jq高级选择器之属性选择器(比CSS的属性选择器多了一个不等于)

jquery选择器

jquery选择器

jquery选择器

jquery选择器

jquery选择器

jquery选择器

jquery选择器

jquery选择器


三、jq高级选择器之过滤选择器【jq选择器的重点】

过滤选择器与CSS的结构伪类的异同;
相同点:都是以冒号打头;
不同点:jq的过滤选择器名称可能有变更,同时,也扩展更多的选择器。

jquery选择器


1. jq高级选择器之过滤选择器【基本过滤器】

jquery选择器

jquery选择器


2. jq高级选择器之过滤选择器【可见性过滤器】

jquery选择器


四、jq选择器的注意点之转义字符

jquery选择器


五、选择器的注意点之有空格和没有空格的区别

jquery选择器


小结

jquery选择器

相关文章:

  • 2021-12-10
  • 2021-12-10
  • 2021-11-17
  • 2021-11-29
  • 2021-12-22
猜你喜欢
  • 2021-07-22
  • 2021-09-21
  • 2021-10-10
  • 2022-01-21
  • 2021-06-02
  • 2022-12-23
  • 2022-12-23
  • 2022-12-23
相关资源
相似解决方案