欢迎访问我的独立博客
摘要: 在数据传输流程中,json是以文本,即字符串的形式传递的,而JS操作的是JSON对象 JSON字符串: var str1 = '{ "name": "cxh", "sex": "man" }'; JSON对象: var str2 = { "name": "cxh", "sex": "man" }; 阅读全文
posted @ 2018-08-17 15:24 github.com/starRTC 阅读(5585) 评论(0) 推荐(0) 编辑
摘要: https://www.cnblogs.com/summers/p/3225375.html POST 方法不会缓存数据 $.get(URL,callback); 2个参数 callback 参数是请求成功后所执行的函数名。 $("button").click(function(){ $.get(" 阅读全文
posted @ 2018-08-17 10:39 github.com/starRTC 阅读(243) 评论(0) 推荐(0) 编辑