set text in div using js code example
Example 1: javascript set text of div
document.getElementById("content").innerHTML = "whatever";
Example 2: how to change text of div in javascript
document.getElementById("content").innerHTML = "whatever";
document.getElementById("content").innerHTML = "whatever";
document.getElementById("content").innerHTML = "whatever";