get写法
function f1(){
//ajax去服务器端请求json信息回来
var xhr = new XMLHttpRequest();
xhr.onreadystatechange = function(){
if(xhr.readyState==4){
alert(xhr.responseText)
}
}
xhr.open('get','./04.php');
xhr.send(null);
}