I Try To Find The Element By Get Attribute But Then control not return then value Of Attribute Alt
html Code
<area alt="MasterHome <span class="level">Lev1</span>||Master2:<br /> <div class="showCosts"> <span class="resources r1"><img class="r1" src="img/x.gif" />90 </span> <span class="resources r2"> <img class="r2" src="img/x.gif" />50</span> <span class="resources r3"> <img class="r3" src="img/x.gif" />75 </span> <span class="resources r4"> <img class="r4" src="img/x.gif" />25 </span> <div class="clear"></div>" shape="poly" href="build.php?id=26">
Code Vb To Find It
Dim ELM As HtmlElement For Each ed As HtmlElement In WebBrowser1.Document.GetElementsByTagName("area") If ed.GetAttribute("alt").ToString.Contains("MasterHome ") Then ELM = ed End If Next
Not Received Any Element
Amr Ragab