这是我尝试点击网络服务时出现的错误
XMLHttpRequest cannot load http:webservice.com/abc
Origin null is not allowed by Access-Control-Allow-Origin.
statuse是200 ok
$.ajax({
url :"http://webservice/Demo.php",
type: "GET",
crossDomain : true,
error:function(response){
alert("error");
},
success:function(response){
alert("success");
}
});