getelementbyid input value code example
Example 1: Javascript get text input value
var inputValue = document.getElementById("myTextInputID").value;
Example 2: getelementbyid input value
document.getElementById("myText").value = "Johnny Bravo";
var inputValue = document.getElementById("myTextInputID").value;
document.getElementById("myText").value = "Johnny Bravo";