Response.Write("<script language=\"javascript\">window.opener.location.reload();</script>");
如果不能刷新,分开写

解决方案 »

  1.   

    在bbb.aspx里的<form>定义 action="aaa.aspx"
      

  2.   

    Response.Write("<script language=\"javascript\">opener.location.href(opener.location.href);</script>");写在被打开的页面里
      

  3.   

    Response.Write("<script language=\"javascript\">opener.location.href=opener.location.href;</script>");
      

  4.   

    opener.location.href=opener.location.href;
    把这段代码放在html的unload事件里
      

  5.   

    我有一个页面AAA.aspx,里面有一个显示子页面的超链接。我点击了这个超链接后显示bbb.aspx页面,当我对bbb.aspx里的数据操作以后关闭此页面。但在关闭此页面后,我要让父页面AAA.aspx自动刷新一下该怎么写这段javascript脚本啊???
    请指教!!!!(能给一些详细代码最好拉):-)子页面?
    其实他是一个新页面,
    所以你最要用javascript来打开子页面,然后来操作子页面的opener对象
    open Method--------------------------------------------------------------------------------Opens a new window and loads the document specified by a given URL.What's New for Microsoft&reg; Internet Explorer 6
    As of Internet Explorer 6, the _media value of the sName parameter specifies that this method loads a URL into the HTML content area of the Media Bar. SyntaxoNewWindow = window.open( [sURL] [, sName] [, sFeatures] [, bReplace])