Skip to content
Related Articles
Open in App
Not now

Related Articles

HTML | DOM Input Hidden form Property

Improve Article
Save Article
  • Difficulty Level : Basic
  • Last Updated : 30 Aug, 2022
Improve Article
Save Article

The Input Hidden form property is used to return the reference of the form containing the Input Hidden field. It is read-only Property that returns a form object on success. 


Return Values: It returns a string value which specify the reference of the form containing the Input Hidden field

Below Program that illustrates the Input Hidden form property. 


<!DOCTYPE html>
        <h1 style="color:green;">
        <h2>DOM Input Hidden form Property </h2>
        <form id="myGeeks">
            <input type="hidden"
        <button onclick="myGeeks()">
        <p id="sudo"
            function myGeeks() {
                var x =
                  "sudo").innerHTML = x;

Before Clicking On Button: 


After Clicking On Button: 

Supported Browsers: The browser supported by DOM input Hidden form Property are listed below: 

  • Google Chrome 1
  • Edge 12
  • Firefox 1
  • Opera 2
  • Safari 1


My Personal Notes arrow_drop_up
Related Articles

Start Your Coding Journey Now!