Results 1 to 2 of 2

Thread: Cant find HTML item

  1. #1

    Thread Starter
    Addicted Member
    Join Date
    May 2009
    Posts
    193

    Cant find HTML item

    What would be the easyest way to get the item for this html?

    Code:
    <input type="text" style="width: 315px;" size="32" value="" name="users_tli" class="box_new">
    I tried

    Code:
    WebBrowser1.Document.GetElementsByTagName("users_tli").Item("TEXT").SetAttribute("value", Textbox1.Text)
    and got nothing.

  2. #2
    Hyperactive Member
    Join Date
    Mar 2009
    Posts
    462

    Re: Cant find HTML item

    Code:
            Dim text As String = WebBrowser1.Document.All("users_tli").GetAttribute("value")

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  



Click Here to Expand Forum to Full Width