摘要
Ajax是异步JavaScript+XML的缩写,是一种客户端技术,它使用XMLHttpRequest对象向服务器发出异步请求,对服务器的响应作出处理并显示在当前Web页面上。本文对Ajax的交互模式和传统Web的交互模式进行了比较,并用一个具体的例子说明Ajax的工作原理以及XMLHttpRequest对象与服务器通信的步骤。
Ajax is shorthand for Asynchronous JavaScript and XML, and is a client-side technology. Ajax could send asynchronous request using XMLHttpRequest, analyses data from Server and display the results on the Web page. This article is compared Ajax's interaction model with classic Web interaction model, and using an ex-ample to illustrate the principles and processes that how the XMLHttpRequest object communicated with Server.
出处
《科技广场》
2013年第7期63-67,共5页
Science Mosaic