CESC4

 

var index = parent.layer.getFrameIndex(window.name); //获取当前窗体索引
$(\'#提交的元素\').on(\'click\', function(){
parent.layer.close(index); //执行关闭
});

 

可能需要修改上面的"submit"提交为button提交 

//关闭页面
function closePage() {
var index = parent.layer.getFrameIndex(window.name);
parent.layer.close(index);
}

分类:

技术点:

相关文章:

  • 2022-12-23
  • 2022-12-23
  • 2022-12-23
  • 2022-12-23
  • 2021-06-01
  • 2022-02-11
  • 2022-01-10
猜你喜欢
  • 2022-12-23
  • 2021-12-26
  • 2022-12-23
  • 2021-12-22
  • 2021-12-03
  • 2021-06-21
相关资源
相似解决方案