Example. Get the value of a text field: var x = document.getElementById("myText").value;. The result of x will be: Mickey. Try it Yourself » ...
確定! 回上一頁