My interpretation was "If the element with ID 'xxxxx' exists THEN" but I really dunno haha.
I would just done
[highlight=vb.net]
If Not Object.Equals(doc.GetElementById("alalala"), Nothing) Then
'do some shit
End If
[/highlight]
I might actually write a string version of a HTML document class
. Would be interesting to try out.
I would just done
[highlight=vb.net]
If Not Object.Equals(doc.GetElementById("alalala"), Nothing) Then
'do some shit
End If
[/highlight]
I might actually write a string version of a HTML document class
. Would be interesting to try out.