在线求教!!!IWebBrowser2获取不到页面的元素
这里人气高点,求助。
帮同学做一个139邮箱登录和写短信的客户端,现在卡在获取页面输入手机号码和输入短信内容的文本框,以及获取发短信的按钮。这三个东西现在一直获取不到。之前登录邮箱获取用户名和密码的输入框很容易,现在怎么一直拿不到这三个元素呢?
如下:
<a class="btnSmsSend btnNm" href="javascript:;" id="btnSmsSendHeader"><i class="but_lIco">
</i><span class="but_bg-x">发送</span><i class="but_rIco"></i></a>
<div class="RichInputBoxLayout" style="max-height: 1000px; padding: 2px 0px 0px; background-color: rgb(255, 255, 255); margin-right: 1px; width: 99%; border-top-color: rgb(124, 124, 124); border-right-color: rgb(195, 195, 195); border-left-color: rgb(154, 154, 154); border-bottom-style: none; background-position: initial initial; background-repeat: initial initial;">
<div class="RichInputBox" id="RichInputBoxID"><input backspacedeleteoff="true" tabindex="1" setvaluehandler="RichInputBoxSetValueHandler1" type="text" style="padding: 2px 0px 2px 1px; height: 18px; color: silver; width: 100%; margin-left: 2px;" last_handler_value="可同时发给50人,以逗号“,”隔开,支持向移动、联通、电信用户发送!">
</div>
</div>
<div class="textarea">
<div style="padding: 2px 5px">
<textarea id="txtContent" tabindex="2" style="width: 100%; padding: 0; resize: none;"></textarea>
</div>
<div class="ft">
<p id="pLetterCount" class="letter-count">
还可输入<em>350</em>字,本次将以<em>0</em>条计费
</p>
<div id="divSign" class="sign-select2">
<dl id="dlIdiograph" class="dropdownlist">
<dt>短信签名<i class="i-down"></i></dt>
<dd>
<ul><li class="more-act">管理签名</li></ul>
</dd>
</dl>
</div>
<dl class="from-139">
<dt id="dtFrom139">[发自139邮箱] </dt>
<dd>
"[发自139邮箱]"是系统签名,不会多扣除您的条数和费用。 接收方会在短信末尾看到系统签名。</dd>
</dl>
</div>
</div>