Form JavaScript Tutorial

The Hidden object is created with the HTML tag. Specifying the TYPE parameter of the tag as hidden creates the Hidden object. It is a text object that is suppressed from form display in an HTML form. The Hidden object is primarily used for passing name/value pairs from a form.
PropertyDescription
formSpecifies the form containing the Hidden object.
nameRefers to the name of Hidden object.
typeRefers to HTML TYPE attribute of Hidden object.
valueRefers to HTML VALUE attribute of Hidden object.


    
     Creating hidden objects
    
    
    
    
    


             onClick='alert(form1.hide1.name + " " + form1.hide1.type + " " + form1.hide1.value)'>