jquery display none input focus code example
Example 1: display none js
document.getElementById("myDIV").style.display = "none";
Example 2: javascript change hidden input value
document.getElementById("myHiddenInputID").value = "MyNewValue";
document.getElementById("myDIV").style.display = "none";
document.getElementById("myHiddenInputID").value = "MyNewValue";