TTMSFNCWebCoreClientBrowser.ExecuteJavaScript Method
Evaluates a JavaScript expression in the hosted browser page.
API unit family: TMSFNCWebCoreClientBrowser
Declaring type: TTMSFNCWebCoreClientBrowser
Syntax
procedure ExecuteJavaScript(AScript: String; ACompleteEvent: TTMSFNCWebBrowserJavaScriptCompleteEvent = nil; AImmediate: Boolean = False); override;
Parameters
| Name | Description |
|---|---|
AScript |
The JavaScript source code to execute. |
ACompleteEvent |
Optional callback invoked when the script finishes executing and the result is available. |
AImmediate |
When True, the script is executed immediately without queuing. |