Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR JAVASCRIPT

add text to innerhtml javascript

<div id="whatever">hello one</div>
<script>
document.getElementById("whatever").innerHTML += " hello two";
</script>
Source by stackoverflow.com #
 
PREVIOUS NEXT
Tagged: #add #text #innerhtml #javascript
ADD COMMENT
Topic
Name
2+3 =