change value input type text js code example Example: javascript change input value document.getElementById("ID").value = "Tamer Jarrar";