Hi,
How to get "class" attribute of an HTML element.
For example, for this HTML code, this C# code does well:
hElement.GetAttribute("id")
But it does not work for "class" attribute:
hElement.GetAttribute("class")
I use C# WebBrowser control.
<table id="target_validate" class="res_target" cellpadding="1" cellspacing="1">
<tr>
<td class="vil" colspan="2">AVATAR (18|60)</td>
</tr>
<tr>
<th>User:</th>
<td><a href="spieler.php?uid=4018">Iman</a></td>
<tr>
<th>Time:</th>
<td>0:31:49</td>
</tr>
</table>