PHP header()和jquery mobile [英] PHP header() and jquery mobile
本文介绍了PHP header()和jquery mobile的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!
问题描述
我想用php头文件('Location:newpage.php')来重定向。
我没有错误,但jquery mobile似乎无法加载目的地页面和地址栏保留旧地址。
您有建议吗?
谢谢!
解决方案
重定向之前,
尝试添加 data-ajax =false
当你使用php header()
重定向之前,
I would like to use a php header('Location: newpage.php') to redirect.
I got no error, but Jquery mobile seems to fail loading the destination page and the address bar stays with the old address.
Do you have an advice please ?
Thanks!
解决方案
try to add data-ajax="false"
when you call that page, before redirecting using php header()
这篇关于PHP header()和jquery mobile的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!
查看全文