Learn how to add form validation for empty input fields with JavaScript. ... var x = document.forms["myForm"]["fname"].value; if (x == "") {
確定! 回上一頁