lxwphp

1、单纯的关闭
window.opener.location.reload(); //刷新父窗口中的网页
window.close();//关闭当前窗窗口
2、提交后关闭

function save(){
document.getElementById("pointsform").submit();
alert(\'保存成功\');
window.opener.document.getElementById("cmd").value="query";
window.opener.document.getElementById("form的id").submit();//提交
window.close(); //关闭当前窗口
}

分类:

技术点:

相关文章:

  • 2022-02-13
  • 2022-12-23
  • 2022-12-23
  • 2021-08-24
  • 2021-12-23
  • 2022-12-23
  • 2022-01-14
  • 2022-12-23
猜你喜欢
  • 2021-12-23
  • 2022-12-23
  • 2021-12-23
  • 2022-12-23
  • 2022-12-23
  • 2021-12-23
  • 2021-07-17
相关资源
相似解决方案