[属性名称] 匹配包含给定属性的元素
[attr=value] 匹配包含给定属性的元素 (大小写区分) //$("li[id='10']")
[attr*=value] 模糊匹配                                              //$("input[type='Text'][value*='Victor']")
[attr!=value] 不能是这个值                                       //$("input[type='Text'][value!='Victor']")
[attr$=value] 结尾是这个值                                      //$("input[type='Text'][value$='Victor']")
[attr^=value] 开头是这个值                                      //$("input[type='Text'][value^='Victor']")

相关文章:

  • 2021-07-07
  • 2021-12-18
  • 2022-12-23
  • 2021-12-19
  • 2022-12-23
猜你喜欢
  • 2021-12-18
  • 2021-12-22
  • 2022-03-01
  • 2022-12-23
  • 2021-08-22
  • 2021-11-20
相关资源
相似解决方案