Table of Contents
WebView.EvalScript Method (String, Boolean)

Execute JavaScript code in the main frame.

Syntax
 public object EvalScript(
   string code,
   bool throwOnError
);

Parameters

code
The JavaScript code to be executed.
throwOnError
Set to true if to throw an JSException when an exception occurred while executing the JavaScript code.
Remarks

This method calls EvalScript by passing null to the frameName argument.

See Also