可能是因为a.htm与b.htm不在同一个域。可以这样做:
parent.location.href="c.htm";
--->>>
window.open("c.htm","_parent");

解决方案 »

  1.   

    to:JK_10000(JK)
    你的意思是把parent.location.href="c.htm" 换成window.open("c.htm","_parent")吗?我替换了,可是提示:拒绝访问
      

  2.   

    b.htm刷新了吗?
    你把b.htm页面的代码贴出来看看吧
      

  3.   

    代码如下,想要处理的是dl这个函数
    <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
    "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
    <!-- saved from url=(0014)about:internet -->
    <html xmlns="http://www.w3.org/1999/xhtml">
    <head>
    <title>top.gif</title>
    <meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
    <script>
    function dl(){
        window.open("mymear/dl.htm");
    }
    </script>
    <link href="mer.css" rel="stylesheet" type="text/css" />
    <style type="text/css">
    <!--
    .STYLE5 {
    color: #FF9900;
    font-size: 13px;
    }
    -->
    </style>
    </head>
    <body topmargin="0"  leftmargin="0" bgcolor="#ffffff" >
    <table width="950" border="0" align="left" cellpadding="0" cellspacing="0">  <tr>
       <td height="93" colspan="11" >
       <table width="50%" border="0" align="right" cellpadding="0" cellspacing="0">
         <tr>
           <td>
       <div align="right">
       <span class="STYLE3 STYLE5">
       <a href="javascript:dl()" class="STYLE5" >登陆</a></span></div>
       </td>
         </tr>
       </table>
       </td>
      </tr>
    </table>
    </body>
    </html>