javascript innerHTML adding instead of replacing December 9, 2023 by Tarik <div id="whatever">hello one</div> <script> document.getElementById("whatever").innerHTML += " hello two"; </script>