What is the correct syntax for adding an external link to a JavaScript file (.js) in another JavaScript file?
No.
You can add a block <script>to the document, but it will execute asynchronously.
<script>
Alternatively save all your .js files in a php file.
<script src="js.php" type="text/javascript"></script>
PHP:
<?php require 'js/myjs1.js'; require 'js/myjs2.js'; ?>
I assume that you can upload the contents of the file via ajax and use eval().
eval()
Source: https://habr.com/ru/post/1770202/More articles:SQL Server 2008r2 ↔ the best version of MS Access for the interface - sql-serverPython + Celery: ignore task results for each call? - pythonC ++ Exception Handling Issues - c ++Is a bean alias of a class name possible in Spring? - springMouseover / mouseenter not starting by browser on animated / moving element - jqueryHow to initialize the sender ID for Android C2DM without using a hard-coded value in a static variable? - androidhow to represent an n-byte array in less than 2 * n characters - language-agnosticКак кэшировать данные JSON для автономного чтения в iPhone APP? - jsonVisual Similarity Algorithms (for CBIR) - searchXML data binding for Common Lisp - xmlAll Articles