18
Cómo incluir múltiples archivos js usando el método jQuery $ .getScript ()
Estoy tratando de incluir dinámicamente archivos javascript en mi archivo js. Investigué un poco al respecto y descubrí que el método jQuery $ .getScript () sería la forma deseada. // jQuery $.getScript('/path/to/imported/script.js', function() { // script is now loaded and executed. // put your dependent JS here. // what if …
127
javascript
jquery
html
promise