html input value change javascript code example
Example 1: set value using javascript
document.getElementById("myText").value = "your string";
Example 2: javascript change input value
document.getElementById("ID").value = "Tamer Jarrar";
Example 3: javascript input value change
function updateInput(ish){
document.getElementById("fieldname").value = ish;
}