国产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 reset button name is: " + document.form1.resetbutton.name)'>
    <br>
    <br>
    </form>
</body>
</html>