W3School TIY Editor
W3School 在线教程
改变方向
暗黑模式
运行代码
<html> <body> <form> <input type="hidden" id="hidden1" name="hidden1" /> </form> <p>The name of the hidden field is: <script type="text/javascript"> alert(document.getElementById("hidden1").name) </script></p> </body> </html>