JavaScript establece el valor del campo de entrada de entrada
document.getElementById("myInputID").value = "My Value"; //set value on myInputID
Grepper
document.getElementById("myInputID").value = "My Value"; //set value on myInputID
document.getElementById("myText").value = "your string";
document.getElementById("ID").value = "Tamer Jarrar";