WEB DEVELOPER SITE
HTMLCSSJAVASCRIPTSQLPHPBOOTSTRAPJQUERYANGULARXML
 

HTML DOM Input Hidden Object


Input Hidden Object

The Input Hidden item speaks to a HTML <input> component with type="hidden".

Access an Input Hidden Object

You can get to a <input> component with type="hidden" by utilizing getElementById():

var x = document.getElementById("myInput");

Tip: You can likewise get to <input type="hidden"> via seeking through the elements gathering of a form.

Create an Input Hidden Object

You can make a <input> component with type="hidden" by utilizing the document.createElement() method:

var x = document.createElement("INPUT");
x.setAttribute("type", "hidden");

Input Hidden Object Properties

Property Description
defaultValue Sets or returns the default estimation of the concealed information field
form Returns a reference to the structure that contains the concealed info field
name Sets or returns the estimation of the name property of the concealed info field
type Returns which sort of structure component a shrouded information field is
value Sets or returns the estimation of the esteem trait of the shrouded info field

Standard Properties and Events

The Input Hidden item additionally bolsters the standard properties and events.