level 2
siliekakaxi
楼主
这是做简单的ajax的实例。。错误代码:
OPTIONS file:///F:/coreaderTest/test.html No 'Access-Control-Allow-Origin' header is present on the requested resource. Origin 'null' is therefore not allowed access. jquery-1.3.2.min.js:19
XMLHttpRequest cannot load file:///F:/coreaderTest/test.html. No 'Access-Control-Allow-Origin' header is present on the requested resource. Origin 'null' is therefore not allowed access.
主页代码:
2014年12月29日 11点12分
1
OPTIONS file:///F:/coreaderTest/test.html No 'Access-Control-Allow-Origin' header is present on the requested resource. Origin 'null' is therefore not allowed access. jquery-1.3.2.min.js:19
XMLHttpRequest cannot load file:///F:/coreaderTest/test.html. No 'Access-Control-Allow-Origin' header is present on the requested resource. Origin 'null' is therefore not allowed access.
主页代码: