i used jsonp and call my webapi method successfully but i have problem when i want return values from target server
$.ajax({
url: 'http://hub.charsooq.co/api/Order/putorder', //
type : "GET", // type of action POST || GET
dataType : 'jsonp', // data type
data : $(this).serializeArray(), // post data || get data
crossDomain: true,
contentType: "application/json; charset=utf-8",
success : function(result) {
alert(result);
},
error: function(xhr, resp, text) {
console.log(xhr, resp, text);
}
})
});
Now After I Call My methods I want Return Values From Api MEthod , But I cant , any one Can help me ?
"parsererror" Error: jQuery112105916533075988908_1496290916990 was not called