Can I put external JS in external JS?
you can link as many external js files as you like to each web page or you can copy and paste the js from various sources into the one external js file.
1. You can reference as many external JS files as you want from the main HTML
2. You can copy the contents of one external file and paste them into another external file
and call only the joined external file by the main HTML
3. You CANNOT reference one external JS file from within a different external JS file.
(Why... because neither external JS file can contain any HTML tags)
I do it all the time by writing an appropriate line to the main document from the first external JS file:
Originally Posted by JMRKER
var SA_Out ='';
Users Browsing this Thread
There are currently 1 users browsing this thread. (0 members and 1 guests)