摘要:
在服务器将集合转换为json字符串发送给前端后 在前端接收时需要将其转换为数组进行操作 var userArr = eval(data); 阅读全文
posted @ 2022-09-05 23:22
软工小蜗牛
阅读(75)
评论(0)
推荐(0)
摘要:
//首先创建xmlHttpRequest对象 var xmlhttprequest = new XMLHttpRequest(); //创建open设置参数 true是代表异步请求 xmlhttprequest.open("GET","http://localhost:8080/untitled_w 阅读全文
posted @ 2022-09-05 10:32
软工小蜗牛
阅读(90)
评论(0)
推荐(0)
摘要:
json内可以包括任何字符类型 var JsonObj = { "key":value, "key2":"abc", "key3":true } 阅读全文
posted @ 2022-09-05 09:10
软工小蜗牛
阅读(64)
评论(0)
推荐(0)

浙公网安备 33010602011771号