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

App下載
首頁javascriptreset_buttonJavascript Form - 如何獲取包含重置按鈕的表單屬性

Javascript Form - 如何獲取包含重置按鈕的表單屬性

我們想知道如何獲取包含重置按鈕的表單屬性。


<html>
<body>
    <form name="form1">
        Enter Name: <input type="text" Name="name" Size=15>
        <br>
        Enter Phone: <input type="text" Name="phone" Size=10>
        <br><br>
        <input type="reset" name=resetbutton value=Reset
        onClick='console.log("The form name is: " + document.form1.resetbutton.form.name)'>
        <br>
        <br>
    </form>
</body>
</html>