有时候需要在一个页面A上点击打开另一个页面B ,在页面B关闭后刷新A页面,可以用如下的代码实现:

var wnd_print = null;

function commonProceed() {
wnd_print = window.open('../Print.aspx?form_instance_id='+form_instance_id+'&template_id=' + template_id);
window.setInterval(check_wnd_print,3000);
}
function check_wnd_print() {
if (wnd_print && wnd_print.closed)
{
location.reload();
wnd_print = null;
}
}

相关文章:

  • 2021-06-01
  • 2022-12-23
  • 2021-11-02
  • 2022-12-23
  • 2022-12-23
  • 2022-12-23
猜你喜欢
  • 2022-12-23
  • 2021-12-27
  • 2022-12-23
  • 2022-12-23
  • 2022-12-23
  • 2022-01-13
相关资源
相似解决方案