Previous topicNext topic
Help > Methods >
RunJs

RunJs Method

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

Syntax

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

The RunJs 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,
Variant the result of the JavaScript function