first value of input javascript code example
Example 1: Javascript get text input value
var inputValue = document.getElementById("myTextInputID").value;
Example 2: js form default value
<input value="someStandardValue"/>
var inputValue = document.getElementById("myTextInputID").value;
<input value="someStandardValue"/>