javascript set hidden value code example
Example 1: get hidden field value in javascript
// HTML :
<input type=hidden id="abcId" name="abcName" value="Wall Street! Money Never Sleep"/>
// JAVASCRIPT :
alert(document.getElementById('abcId').value);
alert(document.formName.elements['abcName'].value);
Example 2: set element hidden javascript
isHidden = HTMLElement.hidden;
HTMLElement.hidden = true | false;