没有系统学习过jQuery,今天犯了一个低级错误,不知道jQuery的选择器导致的。

jQuery选择器分类:

分类 格式
元素选择器 在页面中选取所有p元素$(“p”)
#id选择器 id为‘test’的元素,$("#test")
#class选择器 class为‘test’的元素,$(".test")

我的错误:
使用jQuery的click事件没反应
低级错误:被自己蠢到了

相关文章:

  • 2021-07-18
  • 2021-11-20
  • 2022-12-23
  • 2022-12-23
  • 2021-08-27
  • 2022-12-23
  • 2021-12-25
  • 2021-05-17
猜你喜欢
  • 2021-08-24
  • 2022-12-23
  • 2022-12-23
  • 2022-12-23
  • 2022-12-23
  • 2021-07-09
  • 2022-12-23
相关资源
相似解决方案