Reputation: 417
I have this page HTML: http://wotlk.openwow.com/spell=1
I open this page in my application using this call:
webBrowser.Navigate()
I am interested in acquiring a variable the contents of the style
attribute of the ins
tag, and I used this syntax.
String tmp = webBrowser.Document.GetElementsByTagName("ins")[0].GetAttribute ("style");
After the execution of the program content of tmp
is "System .__ ComObjec"
Upvotes: 1
Views: 297