XCode & Phonegap with $.get function
I have a problem, I created a Webapps into HTML and JavaScript to create a native iPhone with PhoneGap. This works properly on Safari browser and iPhone, when compiling with xcode, I have a problem with the $.get function that does not receive data from my external server. example code:
$.开发者_StackOverflow社区get('http://www.mydomain.com/retriveinfo.php', function(data) {
document.getElementById("result").innerHTML='data';
jQT.goTo($('#page-result),'slideleft');
});
you can not use $. get? there an alternative? IOS Simulator bug? Please Help Me.
I solved using the $. getJSON that allows cross-domain calls
精彩评论