Table of Contents

TTMSFNCWebCoreClientBrowser.ExecuteJavaScriptSync Method

Evaluates a JavaScript expression synchronously and returns the result as a string.

API unit family: TMSFNCWebCoreClientBrowser Declaring type: TTMSFNCWebCoreClientBrowser

Syntax

function ExecuteJavaScriptSync(AScript: String): string; override;

Parameters

Name Description
AScript The JavaScript source code to execute.

Returns

The string result returned by the JavaScript expression.