Table of Contents

ITMSFNCCustomWebBrowser.ExecuteJavaScript Method

Executes a JavaScript expression in the browser context.

API unit family: TMSFNCWebBrowser Declaring type: ITMSFNCCustomWebBrowser

Syntax

procedure ExecuteJavaScript(AScript: String; ACompleteEvent: TTMSFNCWebBrowserJavaScriptCompleteEvent; ACallback: TNotifyEvent);

Parameters

Name Description
AScript JavaScript source to evaluate.
ACompleteEvent Event raised with the script result when execution finishes.
ACallback Additional notification callback invoked after ACompleteEvent.