This procedure adds the script tag to load a 3rd party javascript library file and also takes into account the specified Content Delivery Network for the application. Supported libraries include: jQuery, jQueryUI, and jQuery Mobile.
Syntax
add_3rd_party_library_file ( 
    p_library in varchar2, 
    p_file_name in varchar2, 
    p_directory in varchar2 default null, 
    p_version in varchar2 default null ); 
Parameters
Table 18-1 ADD_3RD_PARTY_LIBRARY_FILE Parameters
| Parameters | Description | 
|---|---|
| 
 | Use one of the  | 
| 
 | Specifies the file name without version, .min and .js | 
| 
 | Directory where the file  | 
| 
 | If no value is provided then the same version Application Express ships is used (optional) | 
Example
This example loads the JavaScript file of the Draggable feature of jQuery UI.
apex_javascript.add_3rd_party_library_file (
     p_library   =>apex_javascript.c_library_jquery_ui,
     p_file_name => 'jquery.ui.draggable' )
Parent topic: APEX_JAVASCRIPT