从另一个JavaScript程序调用javascript文件

时间:2021-07-22 16:00:48

I have a Javascript program which use another javascript program : I want to call this JS file from my Javascript program. How can i do this without need of html ?

我有一个使用另一个javascript程序的Javascript程序:我想从我的Javascript程序中调用这个JS文件。我怎么能这样做而不需要HTML?

1 个解决方案

#1


0  

See the answer posted here:

看到这里发布的答案:

How do I include a JavaScript file in another JavaScript file?

如何在另一个JavaScript文件中包含JavaScript文件?

You could always just combine the files into one .js

您总是可以将文件合并为一个.js

#1


0  

See the answer posted here:

看到这里发布的答案:

How do I include a JavaScript file in another JavaScript file?

如何在另一个JavaScript文件中包含JavaScript文件?

You could always just combine the files into one .js

您总是可以将文件合并为一个.js