Can a Webbrowser control communicate with the C# class that created it? Is there anyway to set up something like ExternalInterface that works in Flash? I'm trying to get the following code to write to the console in C# or call a method in C#.
HtmlElement button = webBrowser1.Document.CreateElement("div");
button.InnerHtml = @"<INPUT TYPE='Text'><P><INPUT TYPE='Submit' Value='Submit' onclick='console.log('Clicked');'>";
webBrowser1.Document.GetElementById("myID").AppendChild(button);