type hidden in html code example
Example 1: html hidden
<!-- stops an element from rendering, but still loads it to memory-->
<p>this will show</p>
<p hidden>Thill will not show</p>
Example 2: input hidden selected
<form>
<select id="dropdown" name="dropdown" onchange="changeHiddenInput(this)">
<option value="j.hotmail.com">Jens</option>
<option value="a.hotmail.com">Adam</option>
<option value="d.homtail.com">Dan</option>
</select>
<input type="hidden" name="hiddenInput" id="hiddenInput" value="" />
</form>
function changeHiddenInput (objDropDown)
{
var objHidden = document.getElementById("hiddenInput");
objHidden.value = objDropDown.value;
}