Where to put Javascript file?
-
In another post I learned that to use javascript on my pages I need to place the script in a separate file and link to it like this: <script src=”/yourfile.js” type=”text/javascript”> </script>
I’m (obviously) a little green at this. Can someone tell me where to create this file, if I have to name it anything in particular and if there’s any special tags that have to wrap the javascript in this file? Thanks.
Viewing 2 replies - 1 through 2 (of 2 total)
Viewing 2 replies - 1 through 2 (of 2 total)
- The topic ‘Where to put Javascript file?’ is closed to new replies.