javascript change element to div to something else code example Example: javascript set text of div document.getElementById("content").innerHTML = "whatever";