how to change the value of a form input with javascript code example Example: javascript change input value document.getElementById("ID").value = "Tamer Jarrar";