XMLHttpRequest cannot load http://localhost/test01/serverjson.php?number=1. No 'Access-Control-Allow-Origin' header is present on the requested resource..
XMLHttpRequest cannot load http://localhost/test01/serverjson.php?number=1. No 'Access-Control-Allow-Origin' header is present on the requested resource. Origin 'null' is therefore not allowed access. 出现这样的错误,我查了一下是跨域的问题,但还在解决中。具体是什么还没搞懂,有知道帮忙回我一下,谢谢!