Forum Moderators: open
I am writing a page with some javacript for navagation buttons and was wondering if you can pull the javascript out of the header and put it in another file and than call that file like you can .css?
Thanks in advance for your help Lisa
in the <head> section of your <html>
<script type="text/javascript" src="/path/to/your/sourcefile.js"/>
Yes you can, via an external javascript src file in the <head> section of your <html> <script type="text/javascript" src="/path/to/your/sourcefile.js"/>
Yes you can, via an external javascript src file
- JS