J
jaco
hello all
I have two js files
file1.js contain
var msg="Hello world";
------
file2.js
alert(msg);
-----------------
I want to know if posible
in my index.html page i have
only
<Script type="text/javascript" Language="JavaScript" Src="file2.js
"></script>
i want that file1.js included file2.js
i want the scope function of file1 ,"know" the scope of file2.js
with out contain this '<Script type="text/javascript"
Language="JavaScript" Src="file1.js "></script>'
in my index.html
Best Regards
jaco
I have two js files
file1.js contain
var msg="Hello world";
------
file2.js
alert(msg);
-----------------
I want to know if posible
in my index.html page i have
only
<Script type="text/javascript" Language="JavaScript" Src="file2.js
"></script>
i want that file1.js included file2.js
i want the scope function of file1 ,"know" the scope of file2.js
with out contain this '<Script type="text/javascript"
Language="JavaScript" Src="file1.js "></script>'
in my index.html
Best Regards
jaco