2015年5月21日

jsonp总结

摘要: 由于“同源策略”的限制,ajax不能做跨域请求,jsonp是当下解决跨域请求最流行的方案,来个例子(index.html): Document json.php页面:"复读机2","age"=>223);$infoencode = json_encode($info);$call... 阅读全文

posted @ 2015-05-21 22:56 复读机 阅读(175) 评论(0) 推荐(0) 编辑

导航