Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR JAVASCRIPT

javascript inject html

var html = '<a href="#" id="playButton">Play</a>';
document.querySelector(".elmentToInjectIn").innerHTML = html;
Source by stackoverflow.com #
 
PREVIOUS NEXT
Tagged: #javascript #inject #html
ADD COMMENT
Topic
Name
3+4 =