I wrote a function like this
function send(url, data){
$.ajax({
url: url,
data: data,
cache: false,
success: function(msg){
alert('success :'+msg);
},
error: function(msg){
alert('error: '+msg);
},
complete: function(msg){
alert('complete: '+msg);
}
});
alert('sending to :'+url +' using: '+data);
}
it works well when using the emulator, the server can read the data.
but when I upload it to the cloud and apply it on the iphone / ipad, the server cannot get the data.
any idea is appreciated
Thanks