Table of Contents

TTMSFNCWXCustomContainer.ExecuteJavaScriptSync Method

Runs the given JavaScript in the hosted page and returns its result synchronously.

API unit family: TMSFNCWXContainer Declaring type: TTMSFNCWXCustomContainer

Syntax

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

Parameters

Name Description
AScript The JavaScript source to execute.

Returns

The string result produced by the script.