function closeBox() { var index = parent.layer.getFrameIndex(window.name); //获取当前窗体索引 parent.layer.close(index); //执行关闭 }
执行成功关闭刷新页面
window.parent.location.href = window.parent.location.href;
function closeBox() { var index = parent.layer.getFrameIndex(window.name); //获取当前窗体索引 parent.layer.close(index); //执行关闭 }
执行成功关闭刷新页面
window.parent.location.href = window.parent.location.href;