Hidden.value : Hidden Object : Form JAVASCRIPT TUTORIALS


JAVASCRIPT TUTORIALS » Form » Hidden Object »

 

Hidden.value







The value property reflects the HTML VALUE attribute of the Hidden object.












<html>
    <head>
    <title> Using the value 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="Get Hidden Value"
       onClick='alert("The Hidden object value is: " + form1.hide1.value)'>
    </form>
    </body>
    </html>







HTML code for linking to this page:

Follow Navioo On Twitter

JAVASCRIPT TUTORIALS

 Navioo Form
» Hidden Object