Welcome to WebmasterWorld Guest from 126.96.36.199 , register , free tools , login , search , pro membership , help , library , announcements , recent posts , open posts Become a Pro Member
... a but like C languages #INCLUDE etc...
Not that I know of.
>>I use IE5
Are you creating a desktop application? Hot_Denim2
Is this going to go on the web? Hot_Denim2
If you define a variable, function or whatever in file1.js, you can call your function, or reference your variable from code in file2.js
Two things come to mind:
First, the obvious - load two (or more) .js files with the document and code from one file can reference code in the other file.
But both files must be linked to the document.
This can be done with any sophisticated server-side scripting engine. PHP for sure.
includefile = 'somefile determined dynamically';
nasty - I've used this on IE 5.5 only - not sure if it will work on other browsers.