Ajax in Tizen

Ajax in Tizen

BY 01 Aug 2013 Web Application Development

 

Hi

I’m using ajax for requesting information via server like this

 

$.ajax({
 
url : ‘https://www.aaa.com/mobile/auth/’,
headers: { ‘authToken’: ‘12345678’, ‘SwCode’:’123′ },
type : ‘GET’,
dataType : ‘xml’,
success : function(xmlinfo) {
alert(“success : ” + xmlinfo );
 
},
error : function(request,error) {
alert(“ERROR request:” + request + “error : ” + error);
},
complete : function(
xmlinfo, status) {
alert(“Complete  xmlinfo: ” + xmlinfo + “status : ” + status);
}
});

 

 

 

When I run the app in web emulator, Ajax is not working.

I couldn’t see anything.

But, When I do this in web simulator, I can get the success response.

 

I’m thinking emulator almost is similar as real mobile.

Cannot I use ajax in Tizen ??

 

Thanks,

Jenny

 

Written by