Connecting Tech Pros Worldwide Help | Site Map

Where to place link to js file

  #1  
Old July 23rd, 2005, 08:50 PM
Yogi_Bear_79
Guest
 
Posts: n/a
I am building a stand alone help file system (.chm) I have a script for
popups that I intend to re-use through-out. The code works fine when the
script is above the <head> tag in the html document.

However, I have been unable to get the page to load if I just link to the
script. It seems that the script link needs to be placed in different
locations dependsing on what you are doing. Any insight?


  #2  
Old July 23rd, 2005, 08:51 PM
Marlais
Guest
 
Posts: n/a

re: Where to place link to js file


Script inside the HEAD has always worked for me whether linking to it
or not. Your link is probably wrong...

Closed Thread


Similar Threads
Thread Thread Starter Forum Replies Last Post
Javascript makes the current directory to change? Mateusz Viste answers 8 September 9th, 2008 03:35 PM
WebUIValidation.js Error Joe answers 1 November 18th, 2005 06:24 AM
calling .js file - will this help? minchu answers 1 July 23rd, 2005 03:39 PM
better way to dynamically link to an external js file? Nick answers 20 July 23rd, 2005 12:49 PM