JavaScript 取得 <select> 的選取值


在 JavaScript 要取得當常 <select> 所選取的選項的值, 可以用 document.getElementById(“name”).value 取得, 具體實現方法如下:

Leave a Reply