一、get方式
xmlhttp.open("GET","target?key1=value1&key2=value2",true);
xmlhttp.send(null);
二、post方式
xmlhttp.open("POST","target",true);
xmlhttp.setRequestHeader("Content-type","application/x-www-form-urlencoded;charset=UTF-8");
xmlhttp.send("type=city&selected_province_id="+selected_province_id);
2742

被折叠的 条评论
为什么被折叠?



