Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations SkipVought on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

include a .js in a .js ??? 2

Status
Not open for further replies.

MikeDee

Programmer
Aug 2, 2001
19
0
0
GB
Anybody,

How can I call a .js file in a .js file?

ie. file.js (full of functions) call filearray.js (arrays)?

 
hi if i got it clear,
just make 2 dfrnt js files: first one with data (arrays, etc) & the other one with functions using this data
& include 'em one after another in ur html document (data first, then functions) regards, vic
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top