父页面js:
function btnAdd_onclick() {
window.open("xxx.jsp", "","height=600, width=650, top=100, left=200,z-look=yes,toolbar=yes, menubar=no, scrollbars=yes, resizable=yes ,alwaysRaised=yes,
location=no, status=yes" );
}
function refresh()
{
this.location = this.location;
}
子页面JS:
function close()
{
window.opener.refresh();//重点就在这里刷新
window.focus();
window.opener=null;
window.close();
}