1.小心函数中的“s“

getElementsByTagName:得到的是数组

getElementById:得到的是对象

2.js 中设置哪一项被选中

subject.selectedIndex = 1

相关文章:

  • 2021-04-11
  • 2022-12-23
  • 2022-12-23
  • 2021-12-05
  • 2021-06-14
  • 2022-02-21
  • 2021-06-18
  • 2022-12-23
猜你喜欢
  • 2022-02-14
  • 2022-01-08
  • 2021-11-28
  • 2022-01-18
  • 2022-12-23
  • 2022-12-23
  • 2021-10-18
相关资源
相似解决方案