IE combobox
各位高手
我考下面文章透OlePropertyGet,可以填入密
http://topic.csdn.net/u/20120507/13/63f1e9ef-eb81-4357-8c7d-2549519805e9.html
在又遇到一新的
就是所要控制的中的combobox option有value值
Ex:
<select name="city" id="city">
<option selected>test0</option>
<option >test1</option>
<option >test4</option>
<option >test3</option>
<option >test2</option>
<option >test5</option>
</select></TD>
我如何控制我想要的option
[解决办法]
- C/C++ code
Variant vTag = vAllTag.OlePropertyGet("city");vTag.OlePropertySet("selectedIndex", 2);