javaScript set Значение поля ввода
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";