67,513
社区成员
发帖
与我相关
我的任务
分享
window.onload = function(){
if(opener!=null){
opener.location.href = opener.location;
}else if(parent!=null){
parent.location.href = parent.location;
}
}
function open(){
//b.jsp返回的值
var rtnValue = window.showModalDialog();
if(rtnValue==1){
//刷新页面
window.location.href=window.location;
}
}
function returnA(){
//设置返回值
window.returnValue = "1";
window.close();
}