Web服务正在给出问题304和200 OK但是它没有在chrome中有代码的主体它给出了问题
XMLHttpRequest cannot load "webservice" Origin null is not allowed by Access-Control-Allow-Origin
请指导我如何解决它
答案 0 :(得分:0)
启用跨域连接:
<script>
jQuery.support.cors = true;
$(document).ready(function(){
....
}
</script>