SyntaxFix
Write A Post
Hire A Developer
Questions
Get the id of the div whose content you want to change then assign the text as below:
div
var myDiv = document.getElementById("divId"); myDiv.innerHTML = "Content To Show";