Answers for "create script javascript"

2

how to create js code

<!--just open a file with the ending of ".js"
example:  myFirstJS.js

an other option is to write this sentence on HTML document:
-->

<script type="text/javascript">
//write here your code
</script>
Posted by: Guest on January-24-2021
0

javascript create script tag

var script = document.createElement("script");
script.src = "https://url.com/";
document.head.appendChild(script);
Posted by: Guest on May-15-2020

Code answers related to "create script javascript"

Browse Popular Code Answers by Language