Warning: file_get_contents(/data/phpspider/zhask/data//catemap/7/kubernetes/5.json): failed to open stream: No such file or directory in /data/phpspider/zhask/libs/function.php on line 167

Warning: Invalid argument supplied for foreach() in /data/phpspider/zhask/libs/tag.function.php on line 1116

Notice: Undefined index: in /data/phpspider/zhask/libs/function.php on line 180

Warning: array_chunk() expects parameter 1 to be array, null given in /data/phpspider/zhask/libs/function.php on line 181
Jquery mobile jQuery mobile正在干扰我的链接_Jquery Mobile - Fatal编程技术网

Jquery mobile jQuery mobile正在干扰我的链接

Jquery mobile jQuery mobile正在干扰我的链接,jquery-mobile,Jquery Mobile,我在用。在iPhone上测试我的网页 问题是: 我在http://www.mywebsite.com/here.html我在该页面上有一个指向 href=”http://www.mywebsite.com/some/folder/there.html“,我被导航到 http://www.mywebsite.com/here.html#/some/folder/there.html 如果我删除jquerymobilejs文件,一切正常。因此,jQuery mobile似乎正在拦截我的“点击”事件并

我在用。在iPhone上测试我的网页

问题是:

我在
http://www.mywebsite.com/here.html
我在该页面上有一个指向

href=”http://www.mywebsite.com/some/folder/there.html“
,我被导航到

http://www.mywebsite.com/here.html#/some/folder/there.html

如果我删除jquerymobilejs文件,一切正常。因此,jQuery mobile似乎正在拦截我的“点击”事件并修改链接的url。奇怪的它为什么这样做

看起来可以帮助您进行动画页面转换等

我可以通过将此属性添加到锚点来关闭它。ajax=“false”

看起来可以帮助您进行动画页面转换等


我可以通过将此属性添加到锚定
data ajax=“false”

奇妙的答案来关闭它!我正要问同样的问题,直到我偶然发现了这个答案。非常感谢!妙极了!我正要问同样的问题,直到我偶然发现了这个答案。非常感谢!