开发者

jQuery Mobile Hash Navigation not Working On Mobile Devices?

开发者 https://www.devze.com 2023-04-08 07:54 出处:网络
When I run a jQuery Mobile page in Safari on a Mac everything runs fine. However when I run it o开发者_StackOverflow社区n an iPad/iPod and select links on the page that are supposed to navigate to dif

When I run a jQuery Mobile page in Safari on a Mac everything runs fine. However when I run it o开发者_StackOverflow社区n an iPad/iPod and select links on the page that are supposed to navigate to different pages it doesn't work. If I navigate directly to any given page (e.g., index.html#PageId), it works, but if I select a link, the hash tag does not get appended to the URL and the displayed page doesn't change. Any thoughts?


This turned out to be some the result of some buried code that was intercepting the touch events and handling them incorrectly.

0

精彩评论

暂无评论...
验证码 换一张
取 消