DHTML DOM innerText

<html>
<body>
<h1 id=”header”>Old Header</h1>
<script type=”text/javascript”> document.getElementById(“header”).innerHTML=”New Header”;
</script>
<p>”Old Header” was changed to “New Header”</p>
</body>
</html>

OUTPUT:

Old Header

“Old Header” was changed to “New Header”

DOWNLOAD SOLUTION HERE