为了账号安全,请及时绑定邮箱和手机立即绑定

XMLHttpRequest cannot load http://code.imooc.com/course/runcode. No 'Access-Control-Allow-Origin' header is present on the requested resource. Origin 'http://www.imooc.com' is therefore not allowed access.

XMLHttpRequest cannot load http://code.imooc.com/course/runcode. No 'Access-Control-Allow-Origin' header is present on the requested resource. Origin 'http://www.imooc.com' is therefore not allowed access.

PHP
Tuking 2014-12-13 18:59:20
我这儿不能显示运行结果 F12看到了这个  XMLHttpRequest cannot load http://code.imooc.com/course/runcode. No 'Access-Control-Allow-Origin' header is present on the requested resource. Origin 'http://www.imooc.com' is therefore not allowed access.请问该怎么解决?
查看完整描述

3 回答

?
月蚀

TA贡献2条经验 获得超0个赞

我也是这问题 要启动http服务么,怎么启动呢???

查看完整回答
反对 回复 2015-06-05
?
SoAanYip

TA贡献20条经验 获得超1个赞

是跨域了吗

查看完整回答
反对 回复 2014-12-15
?
Tuking

TA贡献1条经验 获得超0个赞

没人么。。。

查看完整回答
反对 回复 2014-12-13
  • 3 回答
  • 0 关注
  • 2893 浏览

添加回答

举报

0/150
提交
取消
意见反馈 帮助中心 APP下载
官方微信