摘要: js文件中: 1.接受数据,分割拼接处理 2.var xhr = XMLHTTPRequest() 3.判断请求类型,get or post;get 的url里有参数,post里边没有(不能被用户直接看到);里边都要写xhr.open();xhr.send(),post请求的话还要写xhr.setR 阅读全文
posted @ 2018-05-04 21:39 web前端煜 阅读(1846) 评论(0) 推荐(0)