Kamis, 01 Maret 2012

[ExcelVBA] Reading a Select Multiple List Box using Name.

 

Hi All,

A small query.

For the following HTML code below for Select Multiple List Box the Display and value are different. How can i choose an option by Display (05 ID or 26 CN in this case).

getElementById("vopIds").options(i),value returns the value
As i know only the name i want to select an option by polling for the name.

HTML Code:
document.getElementById('vopSelect')

<option value="561347410">05 ID </option>
<option value="461505313">26 CN </option>

Any help on this would be great.
Thanks.

__._,_.___
Recent Activity:
----------------------------------
Be sure to check out TechTrax Ezine for many, free Excel VBA articles! Go here: http://www.mousetrax.com/techtrax to enter the ezine, then search the ARCHIVES for EXCEL VBA.

----------------------------------
Visit our ExcelVBA group home page for more info and support files:
http://groups.yahoo.com/group/ExcelVBA

----------------------------------
More free tutorials and resources available at:
http://www.mousetrax.com

----------------------------------
.

__,_._,___

Tidak ada komentar:

Posting Komentar