Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR JAVASCRIPT

include js to js

var imported = document.createElement('script');
imported.src = '/path/to/imported/script';
document.head.appendChild(imported);
Source by stackoverflow.com #
 
PREVIOUS NEXT
Tagged: #include #js #js
ADD COMMENT
Topic
Name
8+2 =