replace input field value javascript code example Example: javascript change input value document.getElementById("ID").value = "Tamer Jarrar";