Example. Return the number of <option> elements found in a drop-down list: var x = document.getElementById("mySelect").length;. The result of x will be:.
確定! 回上一頁