通过回调函数 调用parent窗体 关闭子窗体 因为没有运行完需要的函数 回调关闭会出错 需要延时执行
取巧方法
myBOCaller.setPassword(userIDedit, oldpassword, newpassword, function (result) { if (result == -1) { alert("旧密码不正确"); } else if (result == 0) { alert("修改成功"); var st = setTimeout(function () { parent.closeChildWindow(); clearTimeout(st); }, 100); } })
浙公网安备 33010602011771号