ajax

ajax跨域。html中xhr2的。在服务器端加上两句话

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

 

posted @ 2017-05-14 18:25  kongming123  阅读(123)  评论(0)    收藏  举报