how to put value in tag in javascript code example
Example 1: javascript set input field value
document.getElementById("myInputID").value = "My Value"; //set value on myInputID
Example 2: js html tag valu
var value = document.getElementById("theInput").innerHTML;