Discussion Locked

How Many Javascript Source Files?

0 helpful
1 reply
Closed to new repliesThis discussion is closed. It stays readable, but it takes no new replies.

Hello.

I am accustomed to the usual format for including a Javascript source file in my web page, for example:

I am now considering breaking up a large program into several smaller files; however, I do not know if this is allowed.

Is it permissible to include multiple Javascript source files in a page?
If so, please let me know the syntax for doing so.

Thanks in advance for any help.

1 reply

by jay eckles

It is definitely permissable to include multiple source files. You do it just by including multiple SCRIPT tags:

Good luck.

Jay

This discussion is closed to new replies.