Hi,
I have same problem not yet found any fixed solution. but - here is a working example of AJAX call in Intel XDK, you can try it in Intel XDK and on device, replace the URL with yours and try
<html>
<head>
<title>AJAX and XDK</title>
<meta name="viewport" content="initial-scale=1.0, maximum-scale=1.0, minimum-scale=1.0, user-scalable=0;" />
<script type="text/javascript" charset="utf-8" src="http://code.jquery.com/jquery-2.0.3.min.js"></script>
<script src="intelxdk.js"></script>
<script src="xhr.js"></script>
<script>
function doAJAX() {
$.ajax({
type:'GET',
url:'http://time.jsontest.com/',
success: function (data) {
alert(JSON.stringify(data))
}
});
}
</script>
<style>
body {font-family:arial;background-color:white}
</style>
</head>
<body>
<h3>AJAX Call</h3>
<button onclick="doAJAX()">AJAX Call</button>
</body>
</html>