omar199
-
Posts
2 -
Joined
-
Last visited
Content Type
Profiles
Forums
Events
Posts posted by omar199
-
-
I have one HTML page that is requiring a JS file with a lot of code in it. I was thinking about splitting up a part of that JS file into another JS file. Does anyone know if there is a way for the first JS file (called by the HTML file) can "require" or "include" the new JS file as well?(I'm trying to do this without modifying the HTML)
Can an external JS file require another JS file?
in JavaScript
Posted
Thanks for all the help everyone.I think that I will take the first method that Dan suggested, simply modifying the HTML files. I'll just use homesite or dreamweaver to run a global find and replace to change the
to include both (change that to