Hi.
I'm using a webbrowser control on my form program and showing a web page in it. I want to find the tag below;
<a href="index.jsp">Succesfully Posted</a>
When a page has this code, i want to write "ok" on a textbox in form. I tryed the codes below but it isnt exactly work. How can i do that?
foreach (HtmlElement HtmlElement1 in webBrowser1.Document.Body.All)
{
if (HtmlElement1.Document.GetElementById("a").GetAttribute("href") == "index.jsp")
{
textBox6.Text = "Ok";
}
}