I’m new to javascript and I’ve learned that the (standard) way to include javascript from a file which is separate to your html file is like this:
<script type="text/javascript" src="external.js"></script>
But this means that all my javascript code must be contained in one single massive file.
But it’s easier to navigate and debug a small javascript file, i.e. easier to develop js code in multiple small .js files, instead of the single massive ‘external.js’ indicated above.
So how can I include multiple files of javascript code?
Do you need a tool like Aptana?
Thanks.