Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR JAVASCRIPT

js dynamicly add script

var script = document.createElement('script');
script.src = "https://www.examplesite/myscript.js";
document.head.appendChild(script); 
 
PREVIOUS NEXT
Tagged: #js #dynamicly #add #script
ADD COMMENT
Topic
Name
7+5 =