模块化弹出窗口关闭后,父页面不会重新加载 [英] Parent page not reloaded after modular popup closed
本文介绍了模块化弹出窗口关闭后,父页面不会重新加载的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!
问题描述
function to close modular pop
function HideModalPopup() {
parent.$find('modalpop').hide();
window.location.href = <parent pageurl>;
}
当我尝试重新加载父页面后关闭模块化弹出控件转到页面加载功能然后所有功能都工作但页面没有刷新。
when i try to reload parent page after closing modular popup control goes to page load function then all functions worked but page didn't get refresh.
推荐答案
find(' < span class =code-string> modalpop')。hide();
window.location.href =< parent pageurl> ;;
}
find('modalpop').hide(); window.location.href = <parent pageurl>; }
当我尝试重新加载父页面后关闭模块化弹出控件转到页面加载功能然后所有功能都工作但页面没有刷新。
when i try to reload parent page after closing modular popup control goes to page load function then all functions worked but page didn't get refresh.
尝试
Try
function HideModalPopup() {
parent.
find('modalpop')。hide();
window.location.reload();
}
find('modalpop').hide(); window.location.reload(); }
这篇关于模块化弹出窗口关闭后,父页面不会重新加载的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!
查看全文