Javascript Definir valor de campo 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";