I have Written A Simple WCF Method.It is returning Correct values But It is showing 200
$.ajax({
url: "http://localhost:60770/Service.svc/GetContacts?calback=?",
type: "POST",
dataType: "JSON",
contentType: "application/json",
data: "{}",
crossDomain: true,
processdata: true,
success: function (response) {
// var data = response;
alert("data.FirstName");
},
error: function (e) {
alert('error ' + e.status + ' ' + e.responseText);
}
});
It is going to error and when i am checking the response using FireBug. it is showing Json there.
Please Help!!