js细节

1.小心函数中的“s“

getElementsByTagName:得到的是数组

getElementById:得到的是对象

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

subject.selectedIndex = 1

原文地址:https://www.cnblogs.com/turtlegood/p/3802560.html