how to set input value by id in javascript 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