Answers for "load js library in javascript"

2

javascript dynamicly include another js file

var script = document.createElement('script');
script.src = "https://www.examplesite/myscript.js";
document.head.appendChild(script);
Posted by: Guest on December-09-2020
8

load js module

<script type="module" src="main.js"></script>
Posted by: Guest on November-11-2020

Code answers related to "Javascript"

Browse Popular Code Answers by Language