Answers for "Which is the correct way to change the HTML content of a div?"

7

javascript set text of div

document.getElementById("content").innerHTML = "whatever";
Posted by: Guest on January-17-2020

Code answers related to "Which is the correct way to change the HTML content of a div?"

Code answers related to "Javascript"

Browse Popular Code Answers by Language