Hi Folks,
How do I put JavaScript in an external file, and then link to it from another file?
| SitePoint Sponsor |


Hi Folks,
How do I put JavaScript in an external file, and then link to it from another file?
HTML => JS is
<script type="text/javascript" src="YOUR_FILE.js"></script>
Although this is actually right too, this won't work (XHTML);
<script type="text/javascript" src="FILE.js" />
Bookmarks