Results 1 to 2 of 2
Aug 13, 2006, 01:44 #1
including a JS file from another JS file
this is a simple question regarding one JS file referring another JS file.
I have a JS file called a.js
every page in my application is including a.js
Now, I have a new JS file called b.js
I have code in a.js that needs to refer to code in b.js
I don't want to modify the entire application and to include b.js everywhere a.js is included, but a.js needs to be aware of b.js somehow.
Is there a way to include b.js from a.js?
I don't want to take the content of b.js and copy it into a.js
Is there a simple solution?
Aug 13, 2006, 05:10 #2