Kbase 17854: Where To Put JavaScript Files For WebSpeed 2.x Applications
Autor |
  Progress Software Corporation - Progress |
Acesso |
  Público |
Publicação |
  16/10/2008 |
|
Status: Unverified
FIX:
In order to use Javascript (.js) files with the SRC option of the SCRIPT tag, you must put them in a subdirectory of the Web server root directory and then reference them in the tag with the name of that directory.
For example, with IIS on Windows NT, the default directory is:
drive:\Inetpub\wwwroot
If a directory is created for the Javascript files:
drive:\Inetpub\wwwroot\jsfiles
use the following in your HTML:
<SCRIPT LANGUAGE="JavaScript" SRC="/jsfiles/js-1.js">