window.opener.location.href=window.opener.location.href;

解决方案 »

  1.   

    不行哦window.opener.location.href=window.opener.location.href;只能在OPEN下用window.parent.location.reload();只能在父窗口为非模式窗口下用!
      

  2.   

    window.opener.reload()
    window.parent.location=window.parent.location
    都可以刷新啊.
    你是不是在弹出的模式窗口中加了frame 了??
      

  3.   

    是模式窗口,而非window.open()窗口,
    不是在IFRAME下的!
      

  4.   

    var parent=window.dialogArguments;
    var frameDialog=null;
    var frameId=null;
    frameDialog=parent.parent;
    if(document.all)
    {
    frameId=frameDialog.frames["dialogframe"];
    }
    else
    {
    frameId=frameDialog.document.getElementById("dialogframe").contentWindow;
    }
    if(typeof(frameId)=="undefined")
    {
    alert("没有找到iframe");
    parent.document.location.href=parent.document.location.href;
    }
    else
    {
    alert("找到了iframe");
    alert(frameId.document.location.href);
    frameId.document.location.reload();//这里刷新带有iframe的模式窗口,刷新不了!
    //刷新带有iframe的模式窗口
    }