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")
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Back
Top