我有一个可用的HelloWorld电话程序,jquery mobile如下所述:http://jquerymobile.com/demos/1.1.0/docs/about/getting-started.html。我加了一些JavaScript这与跨源资源共享实验:CORS + Android Webview,不能在设备上工作(但在模拟器上)
<script>
$(document).bind("pageinit", function() {
$.support.cors = true;
$.mobile.allowCrossDomainPages = true;
$.mobile.changePage("http://jquery.com");
});
</script>
这个工程在模拟器(2.3)大,jquery.com被加载在jQuery Mobile的演示。但是,在实际的2.3 Android设备(运行Cyanogen,Galaxy SII,Galaxy Player的T-mobile G2)上,changePage()调用什么也不做。
什么是y我们的缓存和异步字段设置为? – Erol 2012-07-14 04:05:45