Results 1 to 2 of 2

Thread: How to fire OnChange event Combobox using Webbrowser?

  1. #1

    Thread Starter
    Junior Member
    Join Date
    Aug 2014
    Posts
    30

    How to fire OnChange event Combobox using Webbrowser?

    Im sorry maybe my title misleading
    I just want to ask how to fire the onchange event in combobox in site using webbrowser?

    the site has combo box with the list of location and every time I will choose location they will give an information to me. Here's the code of html
    Code:
    <select id="citySelector" onchange="selectCity(this)">
    I give a try and I don't know if im doing right. but still nothing happens

    Code:
     Private Sub Button1_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles Button1.Click
            WebBrowser1.Document.GetElementById("citySelector").SetAttribute("value", ComboBox1.Text)
           
        End Sub

    Any one can help me?

  2. #2

    Thread Starter
    Junior Member
    Join Date
    Aug 2014
    Posts
    30

    Re: How to fire OnChange event Combobox using Webbrowser?

    no one can help me

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