I navigated to a website with a form that has no submit button but does have form. I would like to submit this form. How to do this using C# and WebBrowser control?
views:
1347answers:
1
+1
A:
Try this (or something like it):
HtmlElements elements = this.webBrowserControl.GetElementsByTagName("Form");
foreach(HtmlElement currentElement in elements)
{
currentElement.InvokeMember("submit");
}
Cam Soper
2009-10-08 18:43:04