PHP重新加载页面,无需发布数据 [英] php reload page without posting data
本文介绍了PHP重新加载页面,无需发布数据的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!
问题描述
我试过了
window.open(postme.php?r = t,_self);
附加?r = t
至最后,但它似乎没有刷新页面,因为即使我已经移动或删除它们,页面仍然显示一个目录中的文件数量。
<你可以在
window.location.reload();
? 中指定URL吗? p>
谢谢 解决方案
window.location =postme.php?r = t;
I'm trying to refresh a page without sending POST from the previous time.
I've tried
window.open("postme.php?r=t", "_self");
Which appends a ?r=t
to the end but it doesn't appear to refresh the page as the page displays a number of files in a directory which hasn't change even though I have moved or deleted them.
Can you specify the URL in window.location.reload();
?
Any ideas?
Thanks
解决方案
Got this to work...
window.location = "postme.php?r=t";
这篇关于PHP重新加载页面,无需发布数据的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!
查看全文