<script language=javascript>
document.write('<form method="post" action="http://free.activeclub.net/script/login/verify.asp" target="_blank">');
document.write('<div align="center">');
document.write('<center>');
document.write('<table width="50%" border="1" cellspacing="0" cellpadding="3" style="border-collapse: collapse" bordercolor="#111111"><tr>');
document.write('<td colspan="4" bgcolor="#FF00FF"><p align="center">');
document.write('<font size="4" color="#FFFF00">计算机981<span style="line-height: 17pt">社区入口</span></font></td></tr><tr>');
document.write('<td width="66" bgcolor="#66FF99"><font color="#0000FF">');
document.write('<span style="font-size: 14px;line-height: 17pt">用户:</span></font></td>');
document.write('<td width="66" bgcolor="#66FF99">');
document.write('<input type="text" name="username" size="16" maxlength="20"></td>');
document.write('<td width="66" bgcolor="#66FF99"><p align="center"><font color="#0000FF">');
document.write('<span style="font-size: 14px;line-height: 17pt">密码:</span></font></td>');
document.write('<td width="160" bgcolor="#66FF99"><p align="center">');
document.write('<input type="password" name="password" size="16" maxlength="20"></td></tr><tr>');
document.write('<input type="hidden" name="community_id" value="206030">');
document.write('<td colspan="4" bgcolor="#66FF99"><p align="center"><span style="font-size: 14px;line-height: 17pt">');
document.write('<input type="submit" name="Submit" value="登陆">');
document.write('<a href="http://free.activeclub.net/script/login/verify.asp?username=guest&password=guest&community_id=206030">匆匆过客</a>');
document.write('<a href="http://free.activeclub.net/script/reg/reg.asp?community_id=206030" target="_blank">用户注册</a>');
document.write('<a href="http://free.activeclub.net/script/reg/forget_password_input_username.asp?community_id=206030" target="_blank">忘记密码</a></span>');
document.write('</td></tr></table></center></div></form>');
</script>

解决方案 »

  1.   

    <script language=javascript>
    document.write("<form method=\"post\" action=\"http://free.activeclub.net/script/login/verify.asp\" target=\"_blank\">");
    document.write("<div align=\"center\">");
    document.write("<center>");
    document.write("<table width=\"50%\" border=\"1\" cellspacing=\"0\" cellpadding=\"3\" style=\"border-collapse: collapse\" bordercolor=\"#111111\"><tr>");
    document.write("<td colspan=\"4\" bgcolor=\"#FF00FF\"><p align=\"center\">");
    document.write("<font size=\"4\" color=\"#FFFF00\">计算机981<span style=\"line-height: 17pt\">社区入口</span></font></td></tr><tr>");
    document.write("<td width=\"66\" bgcolor=\"#66FF99\"><font color=\"#0000FF\">");
    document.write("<span style=\"font-size: 14px;line-height: 17pt\">用户:</span></font></td>");
    document.write("<td width=\"66\" bgcolor=\"#66FF99\">");
    document.write("<input type=\"text\" name=\"username\" size=\"16\" maxlength=\"20\"></td>");
    document.write("<td width=\"66\" bgcolor=\"#66FF99\"><p align=\"center\"><font color=\"#0000FF\">");
    document.write("<span style=\"font-size: 14px;line-height: 17pt\">密码:</span></font></td>");
    document.write("<td width=\"160\" bgcolor=\"#66FF99\"><p align=\"center\">");
    document.write("<input type=\"password\" name=\"password\" size=\"16\" maxlength=\"20\"></td></tr><tr>");
    document.write("<input type=\"hidden\" name=\"community_id\" value=\"206030\">");
    document.write("<td colspan=\"4\" bgcolor=\"#66FF99\"><p align=\"center\"><span style=\"font-size: 14px;line-height: 17pt\">");
    document.write("<input type=\"submit\" name=\"Submit\" value=\"登陆\">");
    document.write("<a href=\"http://free.activeclub.net/script/login/verify.asp?username=guest&password=guest&community_id=206030\">匆匆过客</a>");
    document.write("<a href=\"http://free.activeclub.net/script/reg/reg.asp?community_id=206030\" target=\"_blank\">用户注册</a>");
    document.write("<a href=\"http://free.activeclub.net/script/reg/forget_password_input_username.asp?community_id=206030\" target=\"_blank\">忘记密码</a></span>");
    document.write("</td></tr></table></center></div></form>");
    </script>
      

  2.   

    在document.write()中的"——〉\"
    或者使用'
      

  3.   

    引号含义冲突,举个例子,字符串中不能再有"了
    document.write("<input type="password" name="password" size="16" maxlength="20"></td></tr><tr>");
    改成
    document.write("<input type='password' name='password' size='16' maxlength='20'></td></tr><tr>");
    其余同样办理
      

  4.   

    <script language=javascript>
    document.write("<form method=\"post\" action=\"http://free.activeclub.net/script/login/verify.asp\" target=\"_blank\">");
    document.write("<div align=\"center\">");
    document.write("<center>");
    document.write("<table width=\"50%\" border=\"1\" cellspacing=\"0\" cellpadding=\"3\" style=\"border-collapse: collapse\" bordercolor=\"#111111\"><tr>");
    document.write("<td colspan=\"4\" bgcolor=\"#FF00FF\"><p align=\"center\">");
    document.write("<font size=\"4\" color=\"#FFFF00\">计算机981<span style=\"line-height: 17pt\">社区入口</span></font></td></tr><tr>");
    document.write("<td width=\"66\" bgcolor=\"#66FF99\"><font color=\"#0000FF\">");
    document.write("<span style=\"font-size: 14px;line-height: 17pt\">用户:</span></font></td>");
    document.write("<td width=\"66\" bgcolor=\"#66FF99\">");
    document.write("<input type=\"text\" name=\"username\" size=\"16\" maxlength=\"20\"></td>");
    document.write("<td width=\"66\" bgcolor=\"#66FF99\"><p align=\"center\"><font color=\"#0000FF\">");
    document.write("<span style=\"font-size: 14px;line-height: 17pt\">密码:</span></font></td>");
    document.write("<td width=\"160\" bgcolor=\"#66FF99\"><p align=\"center\">");
    document.write("<input type=\"password\" name=\"password\" size=\"16\" maxlength=\"20\"></td></tr><tr>");
    document.write("<input type=\"hidden\" name=\"community_id\" value=\"206030\">");
    document.write("<td colspan=\"4\" bgcolor=\"#66FF99\"><p align=\"center\"><span style=\"font-size: 14px;line-height: 17pt\">");
    document.write("<input type=\"submit\" name=\"Submit\" value=\"登陆\">");
    document.write("<a href=\"http://free.activeclub.net/script/login/verify.asp?username=guest&password=guest&community_id=206030\">匆匆过客</a>");
    document.write("<a href=\"http://free.activeclub.net/script/reg/reg.asp?community_id=206030\" target=\"_blank\">用户注册</a>");
    document.write("<a href=\"http://free.activeclub.net/script/reg/forget_password_input_username.asp?community_id=206030\" target=\"_blank\">忘记密码</a></span>");
    document.write("</td></tr></table></center></div></form>");
    </script>