Initiate script in embedded browser from container app

If I have an embedded browser on a Windows form, is it possible to run a javascript method from within a container app?

0


source to share


2 answers


You can use Document.InvokeScript as described in this great MSDN article:



How to implement two-way communication between DHTML code and client application code

+2


source


Yes there is..



webBrowser.Document.InvokeScript("doSomething()");

      

+1


source







All Articles