HTML Document Information

  • Thread starter Thread starter Dennis
  • Start date Start date
D

Dennis

How do I get the value of a textbox element in the vb code behind a web
page. I tried Document.getelementbyid.innerHTML but it doesn't recognize it
the Document when I tried to set an object to my web page. Maybe I need to
add a reference and import some namespace? If this isn't the correct forum,
please let me know which forum is correct...I look at them all and couldn't
find any better than this site.
 
Try this.. works here

WebBrowser1.Document.GetElementById("the_input").GetAttribute("value")
 
Back
Top