This is the error that I get when I am trying to hit web service
XMLHttpRequest cannot load http:webservice.com/abc
Origin null is not allowed by Access-Control-Allow-Origin.
statuse is 200 ok
$.ajax({
url :"http://webservice/Demo.php",
type: "GET",
crossDomain : true,
error:function(response){
alert("error");
},
success:function(response){
alert("success");
}
});