There are several ways to customize JavaScript
1. Page loading
In the component view
1. Click Edit Page
2. Write a custom JavaScript function in the function and global variable declaration of the JavaScript tab;
3. Invoking or executing JavaScript code at execute when page loads
2.Dynamic Action1. Create a Dynamic action;2. Select the event type, such as change, click, page load, and so on 3. Setting conditions (optional) 4. If the condition is true or false, the action Type is execute JavaScript code;5. Define, invoke, or directly execute JavaScript code at setting
3. Upload JS file 1. Enter Application Builder's share Components2.files, Static Files3. Create and upload a JS file, such as the file name is MYJAVASCRIPT.JS4. On a page, click Edit 5. File URLs on the JavaScript tab
#WORKSPACE_IMAGES #myjavascript.js |
6. Execute the custom function in Myjavasciprt.js at the point where you need to execute JavaScript
Oracle Apex Utility Note Series 4-Custom JavaScript