ajax服务端跨域问题

header("Access-Control-Allow-Origin: *");

服务端php加入上述语句可成功调用资源

 

posted @ 2014-09-02 11:39  page wang  阅读(55)  评论(0)    收藏  举报