var request = new XMLHttpRequest();
request.open("GET","get.php",ture);
request.send();
request.onreadystatechange = function(){
if(request.readyState ===4&& request.status===200)
//执行一些事情request.responseText
}
时间: 2024-11-07 04:07:49
var request = new XMLHttpRequest();
request.open("GET","get.php",ture);
request.send();
request.onreadystatechange = function(){
if(request.readyState ===4&& request.status===200)
//执行一些事情request.responseText
}