将一页移动到另一页? - jQuerymobile

发布于 2024-10-10 07:32:32 字数 171 浏览 0 评论 0原文

我正在使用 jquerymobile 来开发应用程序。这里我想将一页移动到另一页。我使用了 $.mobile.changePage("html file");但是如果我移动页面,那么页面将显示为普通的 html 页面。(控件看起来像普通的 html 页面控件。UI 中没有分配任何内容)

我错过了什么?请指出我。

I am using the jquerymobile for developing app. Here I want to move the one page to another page. I used the $.mobile.changePage("html file"); But If I move the page then the page displays as a normal html page.(The controls looks like normal html page controls. Nothing assigned in the UI)

What I missed ? Please Point out me.

如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

扫码二维码加入Web技术交流群

发布评论

需要 登录 才能够评论, 你可以免费 注册 一个本站的账号。

评论(1

空宴 2024-10-17 07:32:32

它看起来像一个错误,尝试与 jquery 1.4.3 而不是 1.4.4 一起运行 jquery mobile

另外,执行此类操作的默认方法是使用普通的 并让 jqm施展魔法。它的作用相同,但它也可以在非 js 浏览器中工作。如果情况并非如此,请提供更多详细信息。

It looks like a bug, try running jquery mobile together with jquery 1.4.3 instead of 1.4.4

Also the default way to do such a thing is to use a normal <a href= and let jqm do the magic. It does the same, but it will also work in non-js browsers. Give more details if that's not the case.

~没有更多了~
我们使用 Cookies 和其他技术来定制您的体验包括您的登录状态等。通过阅读我们的 隐私政策 了解更多相关信息。 单击 接受 或继续使用网站,即表示您同意使用 Cookies 和您的相关数据。
原文