Hidden.name : Hidden Object « Form « JavaScript Tutorial






The name property is used get the name for the Hidden object.

This is the HTML NAME attribute for the Hidden object.

<html>
    <head>
    <title> Using the name property of the Hidden object</title>
    </head>
    <body>
    <form name="form1">
    Form name:<input type="hidden" name="hide1" value="Test">
    <P>
    <input type="button" value="Hidden Name"
       onClick='alert("The Hidden object name is: " + form1.hide1.name)'>
    </form>
    </body>
    </html>








10.20.Hidden Object
10.20.1.Hidden
10.20.2.Hidden.form
10.20.3.Hidden.name
10.20.4.Hidden.type
10.20.5.Hidden.value