How Do I Implement JavaScript Functions Within the Application? (Magic xpa 3.x)
When you are writing a browser-client program, sometimes you may want to call a JavaScript that is embedded in your HTML page. This is easily done using the CallJS() function. You can use this function with an Evaluate operation at any point in your program, and the JavaScript will be executed at that point.
The JavaScript to be executed needs to be located on the HTML page you are working with, either directly in the HTML or in a linked JavaScript file.