BBjSysGui::executeScript
Description
In BBj 21.10 and higher, this method executes the specified JavaScript in this web page (see Remarks).
Syntax
Return Value | Method |
---|---|
Object | executeScript(string script) |
Parameters
Variable | Description |
---|---|
script | JavaScript to be executed in this web page. |
Return Value
This method returns the execution result, converted from JavaScript to Java. If the return value is a JavaScript type that can't be represented as a Java type, a simple String representation is returned.
Remarks
In BBj 22.02 and higher, a subset of this functionality is available in the GUI client. Because the client isn't a web page, user-facing components, including Window, Document, and functions like alert, aren't available.
Example
|
Example 2 (All Clients)
|
Version History
See Also
See the BBj Object Diagram for an illustration of the relationship between BBj Objects.