Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR JAVASCRIPT

innerhtml

// Try to use `textContent` instead of innerHTML as innerHTML can be hacked.

document.getElementById("myHeader").textContent = "Heading"
Source by youtu.be #
 
PREVIOUS NEXT
Tagged: #innerhtml
ADD COMMENT
Topic
Name
5+6 =