C# WebBrowser如何选取下拉列表的值 ?
<ahref="javascript:;"hidefocus="true"class="loadselect"id="typeid_selectinput"onfocus...
<a href="javascript:;" hidefocus="true" class="loadselect" id="typeid_selectinput" onfocus="loadselect_keyinit(event, 1)" onblur="loadselect_keyinit(event, 2)" onmouseover="this.focus()" onmouseout="this.blur()" onkeyup="loadselect_key(this, event, 'typeid', 'floatlayout_newthread')" onclick="loadselect_viewmenu(this, 'typeid', 0, 'floatlayout_newthread');doane(event)" tabindex="1">分类</a>
<ul onfocus="loadselect_keyinit(event, 1)" onblur="loadselect_keyinit(event, 2)" class="newselect" id="typeid_selectmenu" style="z-index: 999; position: absolute; width: 94px;">
<li class="current" k_id="typeid" k_value="0" onclick="loadselect_liset('typeid', 0, 'typeid','0',this.innerHTML, 0)">分类</li>
<li k_id="typeid" k_value="99" onclick="loadselect_liset('typeid', 0, 'typeid','99',this.innerHTML, 1)">原创</li>
<li k_id="typeid" k_value="100" onclick="loadselect_liset('typeid', 0, 'typeid','100',this.innerHTML, 2)">转帖</li></ul>
==============
网页代码如上.他不是select标签的....请问如何选择 这个下拉列表呢?
==============
感激不尽!!! 展开
<ul onfocus="loadselect_keyinit(event, 1)" onblur="loadselect_keyinit(event, 2)" class="newselect" id="typeid_selectmenu" style="z-index: 999; position: absolute; width: 94px;">
<li class="current" k_id="typeid" k_value="0" onclick="loadselect_liset('typeid', 0, 'typeid','0',this.innerHTML, 0)">分类</li>
<li k_id="typeid" k_value="99" onclick="loadselect_liset('typeid', 0, 'typeid','99',this.innerHTML, 1)">原创</li>
<li k_id="typeid" k_value="100" onclick="loadselect_liset('typeid', 0, 'typeid','100',this.innerHTML, 2)">转帖</li></ul>
==============
网页代码如上.他不是select标签的....请问如何选择 这个下拉列表呢?
==============
感激不尽!!! 展开
1个回答
推荐律师服务:
若未解决您的问题,请您详细描述您的问题,通过百度律临进行免费专业咨询