%JavaScript meta-HTML element

Syntax

%JavaScript(HTML_DEF_NAME)

Description

At runtime %JavaScript and the HTML_DEF_NAME are replaced by the URL suitable for referencing the .js file on the web server. In addition, the JavaScript is loaded into the web server's cache directory.

Note:

This function is valid for use in auxiliary JavaScript files.

Parameters

Parameter Description

HTML_DEF_NAME

Specify the name of an HTML definition that contains a JavaScript program.

Example

<script src='%JavaScript(PT_EDITSCRIPTS)'></script>