当前位置: 动力学知识库 > 问答 > 编程问答 >

jquery - PhoneGap external URL content

问题描述:

I am developing an iphone app with PhoneGap and JQM and I need to be able to access data on my server (http://xxxxx.com/xx.php) it is just simple plain data and need to able to replace the current div with that of the content , I tried JQM and JQ but it didn't work although I whitelisted my server , any idea ?

网友答案:

You could try adding * as a wildcard to the ExternalHosts within the PhoneGap.plist. Although if you have added your sever as you say, this should work.

Do you get any errors within the logs? I would also suggest doing a clean before a build too.

分享给朋友:
您可能感兴趣的文章:
随机阅读: