Jquery Mobile 后退按钮不起作用
我正在使用 Jquery Mobile 制作 PhoneGap 应用程序,但我在导航方面遇到了一些问题。我使用以下代码在每个页面的标题上添加了一个后退按钮:
<a href="#" data-rel="back" data-icon="back">Atras</a>
问题是它在我的 PC 浏览器上工作正常,但当我将其安装在手机上时,它就无法工作。
有什么想法吗?
I'm making an PhoneGap app using Jquery Mobile, but I have a little problem with the navigation. I've added a back button on the header of every page using this code:
<a href="#" data-rel="back" data-icon="back">Atras</a>
The problem is that it works fine on my PC browser, but when I install it on the phone it just won't work.
Any ideas?
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(2)
您看过 PhoneGap jQM 文档吗?
因为这可能是一个导航问题
。另外您使用的是哪个版本的 jQM 和 PhoneGap?
可能相关:
did you look at the PhoneGap jQM Docs?
since it's a navigation problem maybe
as suggested. Also what version of jQM and PhoneGap are you using?
Could be related:
您是否尝试过 Ripple 模拟器 (Chrome 版本) 检查是否存在任何 JavaScript 错误?
Did you try the Ripple emulator (Chrome version) to check if there's any JavaScript error?