2012-02-06 60 views
0

如何在Windows Phone上调试我的jquery移动应用程序?窗口电话的调试Phonegap

我现在的问题是,像这样的链接不起作用:

<a href="#next_page" data-role="button" class="btn_main_next_collection"></a> 

如果我点击它,我看到了一个短暂的瞬间一个黑色的小盒子(装载仪符号?),但应用程序停留在同一页(div)。

如果我在电话Internet Explorer中加载相同的页面,它可以工作。

如何调试?

更新

我更新到latest jquery mobile版本,现在我得到“错误加载页面”像他正试图将其加载为阿贾克斯,但它是与旧的rel =“外部”的错误多页没有出现,但仍然没有奏效。 (同样的,jQuery Mobile的1.0.1)

更新2

创建第二页index2.html和设置链接像这样的工作:

<a href="index2.html#next_collection" data-ajax="false" data-role="button" ... 

但是,只有当我使用不同的页。 index.html#next_collection什么都不做。

回答

1

通过更新从PhoneGap的1.3.0至1.4.1

+0

你可以将自己的答案标记为正确的:) – Jivings 2012-02-06 15:40:00

1

尝试Ripple mobile emulator。它有一个PhoneGap仿真的设置。

+0

它说,将停止,我应该安装新版本解决:https://bdsc.webapps.blackberry.com/html5/download/ripple – PiTheNumber 2012-02-06 14:02:39

+0

C++运行时错误。这看起来不太好...... – PiTheNumber 2012-02-06 14:06:16