how to change value of input in function code example Example: javascript change input value document.getElementById("ID").value = "Tamer Jarrar";