找回密码
 加入
搜索
查看: 1158|回复: 2

还是要问点击登录按钮的问题

[复制链接]
发表于 2009-9-28 20:12:47 | 显示全部楼层 |阅读模式
本帖最后由 yigao 于 2009-9-29 11:08 编辑

网页代码如下:
<div class="UserLoginCol2 W760">
          <div class="UserLoginCol2Left">
       
        
     <h2><img src="http://k.kbcdn.com/images/user/user_login.gif"><span>已经是会员,请登录</span></h2>
            <div id="UserLoginTab">
                                        <ul>

                                                <li><a href="http://www.koubei.com/common/login.html?redirectUrl=http%3A%2F%2Fask.koubei.com%2F">口碑会员</a></li>
                                                <li><a href="http://member1.taobao.com/member/koubei/login.htm?redirect_url=http%3A%2F%2Fmember1.taobao.com%2Fmember%2Fkoubei%2FkoubeiChannel.do%3Ftarget=http%3A%2F%2Fwww.koubei.com%2Fjoin%2Fprocesstaobaologin.html%3FredirectUrl%3Dhttp%253A%252F%252Fwww.koubei.com%252F&kbun=%B4%F3%C7%E0%B2%CB">淘宝会员</a></li>
                                                <li class="current">雅虎会员</li>
                                        </ul>
                                        <span><img src="http://k.kbcdn.com/images/user/user_tab_right01.gif"></span>
                                        <div class="hack_box"></div>
                        </div>

                        <div id="UserLogin">
                          <span><img src="http://k.kbcdn.com/images/user/user_tab_right02.gif"></span>
                          
                         
        <!--start regform-->
        <form autocomplete="off" action="http://edit.bjs.yahoo.com/config/login" onsubmit="return hash(this,'http://edit.bjs.yahoo.com/config/login')" name="login_form" method="post" id="ylogonfrm" class="loginform">
                <table cellspacing="0">
                <tbody><tr><th>雅虎帐号:</th>
                <td style="z-index:999;">
                                                        <input type="text" value="" id="login" name="login" class="inptext" autocomplete="off"/> 
                                                                                                <div id="emailct"><div class="yui-ac-content" style="display: none;"><div class="yui-ac-hd" style="display: block;"><div id="yc_header">请选择您的邮箱地址</div></div><div class="yui-ac-bd"><ul><li style="display: none;" class="">fli@yahoo.com.cn</li><li style="display: none;" class="">fli@yahoo.cn</li><li style="display: none;"/><li style="display: none;"/><li style="display: none;"/><li style="display: none;"/><li style="display: none;"/><li style="display: none;"/><li style="display: none;"/><li style="display: none;"/></ul></div><div class="yui-ac-ft" style="display: none;"/></div></div>
                                                </td>
                                                </tr>
                                                <tr><td height="5"/></tr>
                                                <tr><th>密 码:</th>
                                                <td><input type="password" id="passwd" name="passwd" class="inptext"/></td>
                                                </tr>
                                                <tr><td height="12"/></tr>
                                                <tr><th/>
                                                <input type="hidden" name=".remember" value="" id="remember">
                                                <td style="z-index: 9;"><input type="checkbox" onclick="if(this.value == 'y'){this.value='n';}else{ this.value='y';}" value="n" name=".persistent" id="selpersis"/>保留登录状态 <img height="14" width="14" align="absmiddle" onmouseout="hdtip(2,this)" onmouseover="showtip(2,this)" alt="" src="../resource/ulogin_04.gif" class="hlpico"/><div style="display: none;" class="hlpinfobox" id="tip2">14天内您将不用再次登录,除非您点击“登出”,使用公共电脑时请不要选中此功能</div></td>
                                                </tr>
                                                <tr><th/><td style="z-index: 1;padding-top:15px;"><button type="submit">登录</button>    <a target="_blank" title="" href="http://edit.yahoo.com/config/eval_forgot_pw?new=1&.done=http%3A%2F%2Fmember.cn.yahoo.com%2Fkoubei%2FprocessKoubeiLogin.php%3FredirectUrl%3Dhttp%253A%252F%252Fask.koubei.com%252F&.src=&partner=&.intl=cn&pkg=&stepid=&.last=&.redir_from=LOGIN">忘记密码?</a></td></tr>
                        
几乎找不到任何可用信息,不清楚如何点击了
 楼主| 发表于 2009-9-29 09:06:35 | 显示全部楼层
难道此题无解?
 楼主| 发表于 2009-9-29 11:08:22 | 显示全部楼层
解决了!
……
$oInputs = _IETagNameGetCollection ($oIE, "BUTTON")
For $oInput In $oInputs
if $oInput.type = "submit" then
       _IEAction ($oInput, "click")
EndIf
Next

评分

参与人数 1金钱 +10 贡献 +3 收起 理由
afan + 10 + 3

查看全部评分

您需要登录后才可以回帖 登录 | 加入

本版积分规则

QQ|手机版|小黑屋|AUTOIT CN ( 鲁ICP备19019924号-1 )谷歌 百度

GMT+8, 2024-5-5 04:02 , Processed in 0.075964 second(s), 23 queries .

Powered by Discuz! X3.5 Licensed

© 2001-2024 Discuz! Team.

快速回复 返回顶部 返回列表