window.location.reload()不刷新页面。 [英] window.location.reload() does not refresh the page.

查看:1489
本文介绍了window.location.reload()不刷新页面。的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

感谢您一直提供帮助。我在我的SharePoint站点中有我维护和修改的页面。有人构建了这个页面,代码方面非常繁重。我点击一个按钮并写一个模态对话框,我更新了两个列表项,然后我以编程方式关闭了模态对话框
。但是,在模式对话框关闭后用于刷新URL的每个方法都不会刷新页面。该网页的网址中包含#。我正在使用javascript代码。知道如何在模态对话框关闭后强制在页面上强制使用F5吗?

Thank you for always being helpful. I have page in our SharePoint site that I maintain and modify. Someone built this page and is is very heavy on the code side. I click a button and pen a modal dialog and I update two listitems then I close the Modal dialog programmatically. However, every method I used to refresh the url after the modal dialog closes, does not refresh the page. the page has # in its url. I am using javascript code. Any idea how I can force a F5 on the page after the modal dialog closes?

faye fouladi

faye fouladi

推荐答案

如何运行页面刷新?你在哪里添加你的脚本?
How do you run the Page Refresh? Where did you add your script?


这篇关于window.location.reload()不刷新页面。的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆