A页面打开的B页面关闭B刷新A。

 

A页面的js:

var w_detail=window.open('<%=root%>/jsp/jobPlatform/jobResponse.jsp?EquipId=1'
,'w_detail','width=800px,height=600px,scrollbars=no,resizable=yes,left=' + (screen.availWidth-800)/2 + ',top=' + (screen.availHeight-600)/2 );
w_detail.focus();

B页面的js:

 window.opener.location.href = window.opener.location.href;
  window.close();  

posted @ 2018-11-20 16:14  字帖公子  阅读(166)  评论(0)    收藏  举报