943,654 Members | Top Members by Rank

Ad:
Jun 5th, 2009
0

select item in combobox in html page

Expand Post »
In a asp page have a combobox with 3 item(see html)
I want to loop in all items of combobox... similar:

i use this to connect oie:

Set OIE = CreateObject("InternetExplorer.Application")
URL = "http://mysite/GP.asp"
OIE.Visible = True

OIE.navigate (URL)
Do While OIE.readyState <> 4 Or OIE.Busy
DoEvents
Loop




select element 1
goto next line of code
finish routine
select element 2
goto next line of code
finish routine

ecc...

<font size="1" face="Verdana,Arial">Scegli :</font>
<Select name="SelectArea" onChange="this.form.submit();">

<option value="7 ,aaaa_X1_" selected>1234i</option>

<option value="7 ,aaaa_X2_">5678</option>

<option value="7 ,aaaa_X3_">91011</option>

</select>
Similar Threads
Reputation Points: 10
Solved Threads: 0
Newbie Poster
sal21 is offline Offline
22 posts
since Feb 2008

This thread is more than three months old

No one has posted to this discussion for at least three months. Please let old threads die and do not reply to them unless you feel you have something new and valuable to contribute that absolutely must be added to make the discussion complete. Otherwise, please start a new thread in this forum instead.
Message:
Previous Thread in Visual Basic 4 / 5 / 6 Forum Timeline: compare two ranges in different workbooks and copy data to a 3rd workbook
Next Thread in Visual Basic 4 / 5 / 6 Forum Timeline: Modular XML Data Parser





About Us | Contact Us | Advertise | Acceptable Use Policy
Forum Index | Build Custom RSS Feed


Follow us on Twitter


© 2011 DaniWeb® LLC