javascript to change value of input code example
Example 1: Javascript get text input value
var inputValue = document.getElementById("myTextInputID").value;
Example 2: set value using javascript
document.getElementById("myText").value = "your string";
Example 3: javascript change input value
document.getElementById("ID").value = "Tamer Jarrar";