WebView2 equivalent to WebBrowser.InvokeScript()

Me 141 Reputation points
2022-12-12T06:44:11.7+00:00

Hello, i am trying to run a javascript command into an HTML file, and i need an argument to put, i try the entire command itself, however i get a syntax error.

I even tried new string[], however that gave a syntax error as well.

Thank you.

Developer technologies | Windows Forms
Developer technologies | C#
0 comments No comments
{count} votes

Accepted answer
  1. Castorix31 90,686 Reputation points
    2022-12-12T07:24:35.953+00:00

0 additional answers

Sort by: Most helpful

Your answer

Answers can be marked as Accepted Answers by the question author, which helps users to know the answer solved the author's problem.