HTMLSelectElement: length 属性
HTMLSelectElement 接口的 length 属性指定了 <select> 元素中 <option> 元素的数量。它代表了 options 集合中的节点数量。在设置时,它的作用等同于 (HTMLOptionsCollection.length)。
HTMLSelectElement 接口的 length 属性指定了 <select> 元素中 <option> 元素的数量。它代表了 options 集合中的节点数量。在设置时,它的作用等同于 (HTMLOptionsCollection.length)。