deveu
Posts: 0
Joined: Tue Apr 08, 2014 4:10 am

Ajax Problem

I can pass the data to server
But success is not working
in success I set alert and that never is working

str = JSON.stringify(dataarr);
b_number : localStorage.getItem("b_number");
$.ajax({
type: "POST",
url: 'http://dev.eu.com.au/rest-api-sync/sy...',
data: {
sync_up:str,
table_name:table_name,
b_number : b_number
},
success: function(data) {
alert(1);
//update_flag(table_name,results);
}
});

Maryna Brodina
Posts: 0
Joined: Thu Apr 05, 2012 7:27 am

Ajax Problem

Hello!

I'm sorry, but debugging custom app code is outside the scope of our support. Please check errors in console and request response http://devcenter.appery.io/documentat...

deveu
Posts: 0
Joined: Tue Apr 08, 2014 4:10 am

Ajax Problem

Trying to invoke a service and getting a cross-domain security error:

yes i am getting this error and why
can youi pls explain

deveu
Posts: 0
Joined: Tue Apr 08, 2014 4:10 am

Ajax Problem

Trying to invoke a service and getting a cross-domain security error:

yes i am getting this error and why
can youi pls explain

Maryna Brodina
Posts: 0
Joined: Thu Apr 05, 2012 7:27 am

Ajax Problem

Return to “Issues”