比如有两个页面a.asp,b.asp在a.asp中点击按钮打开b.asp此时点击b.asp的一个按钮可以实现a.asp刷新

解决方案 »

  1.   

    a页要用 window.open来打开b页b页:
    <input onclick="window.opener.location.href=window.opener.location.href;" ../>
      

  2.   

     //刷新 
     window.location.href = window.location.href; 
      

  3.   

    a.asp打开b.asp
    window.open('b.asp');b.asp刷新a.asp
    window.opener.location.href=window.opener.location.href;
      

  4.   

    是这样的 本来我这个b.asp还要跳转到c.asp了 不过想了想还是算了,加个跳转c.asp就实现不了了果断不加,改为弹窗提示