Welcome to WebmasterWorld Guest from 184.108.40.206
Forum Moderators: open
I'm putting a lot of JS in an external file and calling it like this:
So, firstly: Is that the correct way to do it?
Secondly, I need to call some JS from another site. Can I do that from within my external JS? And of course, how do I do it?
In the code I'm working on it's just another <script src=> jobbie, I need to be able to do that from the external JS...
Call from external? You mean as a library? You can include both, i.e. include the external first (as a function library), then include the internal ones that call the functions in the external.