1

如果我只是使用,我对 index.html 的历史记录有疑问

$.mobile.changePage("another.html",{transition:"slide"});

在像“another.html”这样的页面上,一切正常,我看到了我的 html,但是如果我点击后退按钮,它就不能正常工作(会有一个带有 css/style 的 index.html,但我不能使用按钮再次等)。

我试过了

window.location.href="another.html"

这可以正常工作,但我想使用 jquery。

我只对 index.html 的历史有疑问。当我使用$.mobile.changePage(...)但不是来自 index.html 时,一切正常(历史 beetwen“another.html”和“another1.html”)。

看起来像cordova/jquery的问题。在安卓上一切正常。

4

0 回答 0