document.getElementById(\"test\").value
document.getElementById(\"test\").innerHTML
Does the first mean the address and the second mean the value
.value gives you the currently-set value of a form element (input, select, textarea), whereas .innerHTML builds an HTML string based on the DOM nodes the element contains.
For a simple example, go to the JS Fiddle demo, and enter a new value into the input and then move out of the input.
The test uses the following JavaScript:
document.getElementById('input').onchange = function(){
alert('innerHTML: ' + document.getElementById('input').innerHTML + '; whereas value: ' + document.getElementById('input').value);
};
(The above text updated, following a comment left by am not i am, in comments below.)