
前端综合
_Naive_
敲什么代码,睡觉不香吗?
展开
专栏收录文章
- 默认排序
- 最新发布
- 最早发布
- 最多阅读
- 最少阅读
-
向后台同时传递一个参数和一个json数组,应该怎么写
经过尝试, { “id”:1, [{“xxx”:123, “yyy”:234}, {“xxx”:111, “yyy”:222}] } 这种方式不一定可行,可能会报错 -> param id is not present URL修改为 localhost:1234//xxxxxxx/xx/x?id=1 的形式,然后组合上json数组,即可正常传值 [{“xxx”:123, “yyy”:234}, {“xxx”:111, “yyy”:222}] ...原创 2020-11-06 10:19:17 · 810 阅读 · 0 评论 -
jQuery、AJAX基础学习笔记
XMLHttpRequest发送请求 request.open(“GET”,”get.php”, true); request.send();request.open(“POST”, “post.php”, true); request.send();request.open(“POST”, “create.php”, true); request.setRequestHeader(“Con原创 2016-09-16 10:25:09 · 377 阅读 · 0 评论