Previous topicNext topic
Help > Methods >
RunJsAsync

RunJsAsync Method

Asynchronously runs JavaScript code from the javaScript parameter in the current top-level document rendered in the Control

Syntax

Currency  = object .RunJsAsync(FunctionName As String, ParamArray Param_Array() As Variant)

The RunJsAsync method syntax has these parts:

Element Description
Object The  object placeholder represents an OrdoWebView2 control
FunctionName String, a Javascript code to execute
Param_Array() an optional suite of variant parameters to pass to the JavaScript function,
Currencya token to recognize the Javascript call in the JSAsyncResult event

Remarks