摘要: Jsonp.html JsonpS.js 另:CORS跨域请求 http://blog.csdn.net/fdipzone/article/details/46390573/ 阅读全文
posted @ 2016-10-13 14:02 sunbey80 阅读(200) 评论(0) 推荐(0) 编辑
摘要: var jsonData = {a:1,b:2}; function obj2string(o) { var r = []; if (typeof o == "string") { return "\"" + o.replace(/([\'\"\\])/g, "\\$1").replace(/(\n)/g, "\\n").replace(/(\r)/g, "\\... 阅读全文
posted @ 2016-10-13 11:22 sunbey80 阅读(8321) 评论(0) 推荐(0) 编辑