put a value on a input element code example
Example: javascript set input field value
document.getElementById("myInputID").value = "My Value"; //set value on myInputID
document.getElementById("myInputID").value = "My Value"; //set value on myInputID