国产chinesehdxxxx野外,国产av无码专区亚洲av琪琪,播放男人添女人下边视频,成人国产精品一区二区免费看,chinese丰满人妻videos

App下載
首頁javascriptformJavascript Form - 如何檢查表單目標(biāo)屬性...

Javascript Form - 如何檢查表單目標(biāo)屬性...

我們想知道如何檢查表單目標(biāo)屬性。...

   
<html>
    <body>
    <script language="JavaScript">
    function showNumElements(){
         console.log("There are " + document.form1.length + " elements in this document");
    }
    </script>
    <form name="form1">
        Enter First Name:
        <input type="text" size=15><br>
        Enter Last Name:
        <input type="text" size=20><br>
        Enter address:
        <input type="text" size=40><br><br>
        <input type="button" value="Submit" onClick=showNumElements()>
    </form>
    </body>
</html>