try
直接使用window.reload(true);

解决方案 »

  1.   

    不知道你为什么不能用
    用这个试试window.opener.location = "该窗口的url" (可以直接写window.opener.location)
      

  2.   

     
    Response.Write("<script>self.document.forms(0).submit();</script>");
    Response.Write("<script>window.dialogArguments.location.reload(true);</script>");
    Response.Write("<script>window.location.href=window.location.href;</script>");
    Response.Write("<script>location.reload(true);</script>");
    Response.Write("<script>window.opener.location=();</script>");
    试了这么多,出现错误都是下面这2种不重新发送信息,则无法修改网页
    为空或不是对象晕
      

  3.   

    再试试这两个:
    window.parent.location.reload(true);
    window.parent.location = window.parent.location;你这种问题很难回答的,原因是你没有把你的代码贴出来。我们就只能猜测你是怎么怎么做的,而实际你是怎么做的就只有你知道了。
      

  4.   

    window.opener.window.location.reload(true);中间那个window不可以省略
      

  5.   

    我做的是这样的功能
    页面上有一个image,和HtmlInputFile上传图片,image马上显示
    第一次上传时可以显示
    但当我上传一张后,我上传第2张,想让image变成现在所上传的,但是image还是原来的不变,要刷新页面才可以