Try OpenEdge Now
skip to main content
WebSpeed Essentials
Configuring WebSpeed : Setting up the WebSpeed environment : Moving application files to appropriate directories : JavaScript files
 
JavaScript files
You should place JavaScript (.js) files in a subdirectory of the Web server root directory. Then you can reference the relative path in the SRC attribute of the <SCRIPT> tag.
For example, if the JavaScript file, myscript.js, is in a subdirectory of the Web server root directory called javascript, the <SCRIPT> tag might look like the following:
<SCRIPT LANGUAGE="JavaScript" SRC="/javascript/myscript.js"></SCRIPT>