You need to use the <script> to include the JavaScript source files:
<script type="text/javascript" src="mysrc.js"></script>
The end tag should be complete </script> , do not shorten the way as you can with some tags, as in <script type="text/javascript" src="..."/> .
Yes, alert statements in the included source will appear when they are evaluated by the browser.
For information on using the <link> see w3.org .
Jonathon Faust Apr 13 '10 at 17:16 2010-04-13 17:16
source share