AddJavaScript function

Syntax

AddJavaScript(HTML.JS_NAME)

Description

Use the AddJavaScript function to add JavaScript to the HTML document for the page or component.

Important:

Use this function within fluid applications only.

Parameters

Parameter Description

HTML. JS_NAME

Specifies the JavaScript code as an HTML object stored in the database.

Returns

None.

Example

AddJavaScript(HTML.PT_JQUERY_1_6_2_JS);
AddJavaScript(HTML.PTPG_NUI_GRID_JS);
AddJavaScript(HTML.PT_ACE_USER);
AddJavaScript(HTML.PT_ACE_LOAD);
AddJavaScript(HTML.PTS_NUI_SRCH);