javascript--HTML DOM經常使用元素對象

二,Select:訪問select元素javascript   屬性:.selectedIndex  獲取select中當前選中項的下標html      .options  獲取select中全部的option元素 返回值爲數組java      .options.length  獲取option的長度 將其賦值爲0 等同於刪除全部option數組      .value 當前選中項的值(當選項
相關文章
相關標籤/搜索