标题: 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.xml9 V0 [# G2 T. q1 D4 B$ \
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. 6 v K1 F9 a) R6 v( Q* B# [ & a' i: \6 I* r0 t6 z- L ' }1 c6 x$ {& b. A9 h* H, [* i3 Q求大神帮忙解决一下 急急~~~1 V* a( K. U8 L4 I3 t