<a href="b.htm?gid=1" target="dreamover">买第一件商品</a>
<a href="b.htm?gid=2" target="dreamover">买第二件商品</a>

解决方案 »

  1.   

    win = window.open('addcaritem.do?id='+aaa,'cart');
    你给你弹出的这个窗口起个名字就搞定了
      

  2.   

    这个肯定管用 
    在打开的子窗口刷新父窗口的代码 window.opener.location.reload()
      

  3.   

    这个肯定管用 
    在打开的子窗口刷新父窗口的代码 window.opener.location.reload()这个我知道,网上有很多。但是我需要的是在父窗口打开子窗口的同时控制子窗口刷新一次