标题: ajax加载本地xml文件出错 没有apache服务器啊 就是用网页来做的 [打印本页] 作者: 心随风___跃动着 时间: 2015-5-8 10:46 标题: ajax加载本地xml文件出错 没有apache服务器啊 就是用网页来做的 Failed to load resource: No 'Access-Control-Allow-Origin' header is present on the requested resource. Origin 'null' is therefore not allowed access. file:///I:/%E7%94%9F%E7%89%A9%E6%B4%97%E6%B6%A4%E5%A1%94/xidi/resource/xml/materialType.xml" j5 ?8 n0 J( u) ^
XMLHttpRequest cannot load file:///I:/%E7%94%9F%E7%89%A9%E6%B4%97%E6%B6%A4%E5%A1%94/xidi/resource/xml/materialType.xml. No 'Access-Control-Allow-Origin' header is present on the requested resource. Origin 'null' is therefore not allowed access. ' Y2 p% _6 S. q( w# B5 R8 I, y/ B1 a5 R4 ^6 ?1 |& i7 S: A: E
0 D! s1 x& [# z4 a! y5 I
求大神帮忙解决一下 急急~~~. { f ~9 }: c' L