how to assign value to input field in js 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