Mega Code Archive

 
Categories / JavaScript Tutorial / Form
 

Hidden type

The type property specifies the hidden type. For all Hidden objects, the type value is Hidden. <html>     <head>     <title> Using the type 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 Type"        onClick='alert("The Hidden object type is: " + form1.hide1.type)'>     </form>     </body>     </html>