js的跨域请求,要么在js端用jsonp来实现,要么在服务端允许跨域请求,加入一个allowCrossDomainPages 的header。但是翻看Cordova的文档。白名单config.xml中的配置:<access origin="http://*" />官方文档是这么解释的:Domain whitelisting lays the ground work for the W3C Widget Access specification. In the Wi...【阅读全文】
点击(此处)折叠或打开var popupStatus = 0;//loading popup with jQuery magic!function loadPopup(){//loads popup only if it is disabledif(popupStatus==0){$("#backgroundPopup").css({"opacity": "0.7...【阅读全文】