>> document.passwordform.login.focus(); 去掉上面这一句。还有,检查一下form格式是否与action相匹配。

解决方案 »

  1.   

    还是不行,仅能到登陆叶面,不能自动登陆.
    <html> 
    <head> 
    <title>Automatic Script to login to your Hotmail Account</title> 
    </head> <BODY BGCOLOR="white" TEXT="black" onLoad="document.passwordform.submit();"> <form name="passwordform" action="http://lc2.law5.hotmail.passport.com//cgi-bin/login" method="POST"> <input type="hidden" name="login" size="16" maxlength="64" VALUE="davidfeng12"> 
    <input type="hidden" name="passwd" size="16" maxlength="16" VALUE="######"> 
    <input type="hidden" name="enter" value="Enter"> 
    <INPUT TYPE="hidden" NAME="frames" VALUE="yes"> 
    <INPUT TYPE="hidden" NAME="frames" VALUE="no"> 
    <INPUT TYPE="hidden" NAME="frames" VALUE="auto" checked> 
    <input type="hidden" name="curmbox" value="ACTIVE"> 
    <input type="hidden" name="js" value="no"> 
    </form> <script language="JavaScript">  <!-- 
     
     
      
     document.passwordform.passwd.value='######'; 
     document.passwordform.js.value="yes"; 
     // --> </script> <p><center><FONT FACE="Comic Sans MS"><FONT COLOR="#3333FF">Connecting to your Hotmail Account...</FONT></FONT></center> </body> 
    </html>