我需要禁用“在表单发布警告后重定向”对话框
哪个是同一个问题:
Reload browser window after POST without prompting user to resend POST data
但在我的情况下,我从彩盒对话框提交表单。提交表单后,我关闭colorbox弹出窗口并重新加载父页面:
parent.location.reload();
但这会发出警告。如何禁用此功能?
编辑:我在Internet Explorer中收到重新发布表单警告。我没有从其他浏览器中获取它。
Mozilla/4.0 (compatible; MSIE 8.0; Windows NT 6.1; Trident/4.0; .NET4.0C; InfoPath.2)
答案 0 :(得分:1)
parent.location.href = parent.location.href;