HTML select option 詳解

javascript之HTML(select option)詳解 1、基礎理解: var e = document.getElementById("selectId"); e. options= new Option("文本","值") ; //建立一個option對象,即在<select>標籤中建立一個或多個<option value="值">文本</option> //options是個數組,
相關文章
相關標籤/搜索