不行
index.htm
<html><body>
<a href="#" onclick="kk()" id="qq">add</a> 
<script>
function kk(){
var a=window.open("open.htm")}
</script></BODY></HTML>open.htm<html>
<head>
<script>
function kk(){
//alert(parent.parent.location)
window.parent.location.reload ()
}
</script>
</head>
<body>
<a onclick="kk()">djfkdjfdk</a>
</body>
</html>

解决方案 »

  1.   

    <html>
    <head>
    <script>
    function kk(){
    //alert(parent.parent.location)
    window.parent.location.reload ()
    }
    </script>
    </head>
    <body>
    <a href="javascript:kk()">djfkdjfdk</a>
    </body>
    </html>
      

  2.   

    to  supere(虚心求教) 晕...都说用parent不行罗
      

  3.   

    在HTML见过的.好像直用parent.就行了.parent之前不用加window.(记得好像是这样)
      

  4.   

    没有看懂题目
    如果实在框架中打开窗体
    window.parent.location.reload ()
    如果没有框架
    window.opener.location.reload()请说明框架结构
      

  5.   

    人家明明说了是打开新窗口了,应该是window.opener.location.reload()
      

  6.   

    如果是新窗体,你用windows.opener.XXX来对老窗体进行控制