document.write('
解析:
1.创建引擎(XMLHttpRequest 对象)。
2.事件处理函数,处理服务器的响应结果。
3.打开一个连接:open(method, url, asynch)。
4.发送数据:send(data)。