XMLhttpRequest对象请求
open(method,url,async) async是否异步
send(string)
XMLhttpRequest对象响应
requestText 响应回来的是Text,就用此函数接收
responseXML XML就用这个接收
onreadystatechange
readyState:0(请求未初始化),1(服务器连接已建立),2(请求已接收),3(请求处理中),
4.(请求已完成,且响应已就绪)
status:200,404