Working with JavaScript
Oracle VB allows us to write JavaScript to extend the functionality of the web or mobile application as per requirements. You can write JavaScript (JS) code at any level (application, flow, page, or shell) of the application.
To define a JS function, the prototype
function is used within the module. In order to define a JS function, switch to the JavaScript tab of the respective application, flow, page, or shell.
The following is the syntax to write a JS function in the application module:
AppModule.prototype.functionName = function (param1,param2){ // write your logic here return "xyz"; }
The following is the syntax to write the function in the flow module:
FlowModule.prototype.functionName = function (param1,param2){ // write your logic here return "xyz"; }
The following is the syntax to write a JS function...