xmlHttp.send(null)与xmlHttp.send(url)

来源:互联网 发布:数据库表 备注 编辑:程序博客网 时间:2024/04/28 23:50
(1)xmlhttp的send是传递参数用的,但是只有在使用post方式提交请求的时候才有用如下:xmlhttp.open("post",url,true); xmlhttp.send(url);(2)用get的话一般就是:xmlhttp.open("get",url,true); xmlhttp.send(null);
0 0
原创粉丝点击