Page 1 of 1

Ajax Problem

Posted: Thu Aug 07, 2014 10:30 am
by deveu

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);
}
});


Ajax Problem

Posted: Thu Aug 07, 2014 10:53 am
by Maryna Brodina

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...


Ajax Problem

Posted: Thu Aug 07, 2014 11:08 am
by deveu

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

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


Ajax Problem

Posted: Thu Aug 07, 2014 11:09 am
by deveu

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

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


Ajax Problem

Posted: Thu Aug 07, 2014 11:18 am
by Maryna Brodina