Jquery mobile 使用JQm Rc 2更改PhoneGap 1.1.0中的页面

Jquery mobile 使用JQm Rc 2更改PhoneGap 1.1.0中的页面,jquery-mobile,cordova,Jquery Mobile,Cordova,我正在使用phoneGap创建智能手机应用程序,但在我将我的应用程序从jqmobile beta 2更新到jqmobile rc 2后,我的应用程序无法更改页面 代码如下所示 <a href="javascript:$.mobile.changePage('http://primotours.reklamebureauet-sortkaffe.dk/hotdeals.aspx');" data-role="button" data-theme="f">Afbudsrejser<

我正在使用phoneGap创建智能手机应用程序,但在我将我的应用程序从jqmobile beta 2更新到jqmobile rc 2后,我的应用程序无法更改页面

代码如下所示

<a href="javascript:$.mobile.changePage('http://primotours.reklamebureauet-sortkaffe.dk/hotdeals.aspx');" data-role="button" data-theme="f">Afbudsrejser</a>

如果有人能帮忙,我将非常感激,谢谢


Brian

不要调用
$.mobile.changePage()
,只需使用url:

<a href="http://primotours.reklamebureauet-sortkaffe.dk/hotdeals.aspx" data-role="button" data-theme="f">Afbudsrejser</a>


我将不得不使用Changepage事件,如果我不使用,它将打开浏览器。这取决于您的phoneGap代码。遗憾的是,我不熟悉phoneGape。但是如果你使用一个简单的webView(android)/UIWebView(iOS),我上面的例子是有效的。好的,谢谢,下次我会记住这一点。我将JQmobile降级到1.01b,目前它还可以工作,遗憾的是,截止日期没有给我足够的时间找到另一个解决方案。谢谢你的帮助!