摘要: XMLHttpRequest对象提供了许多属性、方法和事件,因此Ajax脚本可以处理和控制Http请求和响应。本章的其余部分会对这些进行详细的讨论。The XMLHttpRequest object exposes various properties, methods, andevents so Ajax scripts can process and control HTTP requests andresponses. The rest of this chapter discusses these in detail.1、 The readyState Property The XML 阅读全文
posted @ 2009-07-29 23:18 爱生活,爱编程 阅读(222) 评论(0) 推荐(0) 编辑
摘要: Ajax利用了一个已被内置在所有主流浏览器里的对象——XMLHttpRequest,来发送和接收HTTP请求响应。Ajax takes advantage of an object built into all modern browsers-the XMLHttpRequest object-to send and receive HTTP requests andresponses. An HTTP request sent via the XMLHttpRequest object does not require the page to have or post a <form& 阅读全文
posted @ 2009-07-29 23:11 爱生活,爱编程 阅读(213) 评论(0) 推荐(0) 编辑
摘要: 异步Javascript和XML(Ajax)是一个描述在客户端脚本和服务器之间传输数据过程的名词。它的优点是给开发者提供了一种从Web服务器接受内容而不用重新刷新用户当前正在浏览的页面的方式。Asynchronous JavaScript and XML (Ajax) is a term for the process of transferring data between a client script and the server. The advantage of this is that it provides developers with a way to retrieve co 阅读全文
posted @ 2009-07-29 22:53 爱生活,爱编程 阅读(695) 评论(0) 推荐(0) 编辑