xmlhttprequest
- 网络XMLHttp请求
-
To send this , you need to use the XMLHTTPRequest object .
为了发送它,你必须使用XMLHTTPRequest对象。
-
Hold open an XMLHttpRequest connection until a response is received .
保持打开XMLHttpRequest连接,直到收到响应。
-
That 's usually how most Ajax programmers create the XMLHttpRequest object .
这也是多数Ajax程序员创建XMLHttpRequest对象的一般方式。
-
You use the XmlHttpRequest or equivalent object that modern browsers provide for this asynchronous background communication .
可以使用现在的浏览器提供的XmlHttpRequest或等效对象进行此异步后台通信。
-
You 'll use false as a condition that means the XMLHttpRequest object hasn 't been created yet .
后面将使用false作为判定条件,它表示还没有创建XMLHttpRequest对象。
-
The key to client / server communication in Ajax is to use the JavaScript XMLHttpRequest object .
在Ajax中客户机/服务器通信的关键是使用JavaScriptXMLHttpRequest对象。
-
Later , I 'll discuss techniques to handle browsers that don 't support XMLHttpRequest .
稍后我将讨论处理那些不支持XMLHttpRequest的浏览器的技术。
-
The secret revolves around a simple property of XMLHttpRequest called onreadystatechange .
秘密就在于XMLHttpRequest的一个简单属性onreadystatechange。
-
To invoke the Web service , notice that you use the standard JavaScript API XMLHttpRequest .
要调用此Web服务,请注意使用标准的JavaScriptAPIXMLHttpRequest。
-
Unfortunately , there is great variance in the implementation of XMLHttpRequest across browsers .
不幸的是,XMLHttpRequest在不同的浏览器中有很多不同的实现。
-
That code is " 200 " and is reported through the status property of the XMLHttpRequest object .
这个代码是“200”,它是通过XMLHttpRequest对象的status属性来报告的。
-
Next , a connection is opened ; here 's the first place you see XMLHttpRequest in action again .
然后打开一个连接,这是您第一次看到使用XMLHttpRequest。
-
Finally , you stop the XMLHttpRequest object by assigning it to null .
最后,通过把XMLHttpRequest对象赋值为null,停止这个对象。
-
First , you need to create a new variable and assign it to an instance of the XMLHttpRequest object .
首先需要创建一个新变量并赋给它一个XMLHttpRequest对象实例。
-
We created a simple helper function to support using the XMLHttpRequest object to invoke services using E4X .
我们创建了一个简单的辅助函数,以支持使用XMLHttpRequest对象来调用使用E4X的服务。
-
That 's exactly what 's happened with XMLHttpRequest , the basic object used in Ajax apps .
XMLHttpRequest恰恰是这种情形,它是Ajax应用程序中使用的基本对象。
-
You should remember from the last article that the XMLHttpRequest object has a property called readyState .
您应该还记得在上一篇文章中XMLHttpRequest对象有一个名为readyState的属性。
-
With Ajax , the JavaScript code uses the XMLHttpRequest object to communicate directly with the server .
借助Ajax,JavaScript代码可使用XMLHttpRequest对象与服务器直接通信。
-
Unfortunately , XMLHttpRequest isn 't an approved standard , and vendor support varies slightly .
遗憾的是,XMLHttpRequest并非广泛认可的标准,厂商支持的标准往往稍有不同。
-
One of the biggest issues facing Ajax developers is how to respond when XMLHttpRequest isn 't available .
Ajax开发人员面临的一个最大问题是:在没有XMLHttpRequest可用时该如何响应?
-
However , you can start to get the basic idea of how these applications work and a basic understanding of the XMLHttpRequest object .
但可以首先从这些应用程序如何工作的基本概念开始,对XMLHttpRequest对象有基本的了解。
-
You wouldn 't use XMLHttpRequest this time because you want the page to be refreshed after the POST request .
这一次不能使用XMLHttpRequest,因为您需要在发出POST请求后刷新页面。
-
Now , JavaScript / XUL has always provided multithreading for network operations : XMLHttpRequest .
现在JavaScript/XUL总是可以为网络操作提供多线程:XMLHttpRequest。
-
The first object you want to understand is probably the one that 's newest to you ; it 's called XMLHttpRequest .
要了解的一个对象可能对您来说也是最陌生的,即XMLHttpRequest。
-
Datajs uses XMLHttpRequest to make network calls by default , but a different HTTP client can be used .
datajs默认会使用XMLHttpRequest来进行网络调用,但还可以使用不同的HTTP客户端。
-
This property , available on XMLHttpRequest , returns the server 's response in the form of a DOM document .
该属性在XMLHttpRequest上可用,它以DOM文档的格式返回服务器的响应。
-
Fundamental to almost all applications that call themselves Ajax based is the creation of a component known as the XMLHttpRequest object .
几乎所有称得上是基于Ajax的应用程序都会创建称为XMLHttpRequest对象的组件。
-
It 's your job then , to go beyond a simple application and that requires a more thorough understanding of XMLHttpRequest .
因此您的工作就不能仅仅局限于简单的应用程序了,而是需要更深入理解XMLHttpRequest。
-
The iframe approach was the common way to get Ajax functionality before the XMLHttpRequest object was implemented everywhere .
iframe方法是在XMLHttpRequest对象得到普遍实现之前获得Ajax功能性的常见方法。
-
You parse the document in the onreadystatechange function of the XMLHttpRequest object used to make the Ajax call .
您解析用于进行Ajax调用的XMLHttpRequest对象的onreadystatechange函数中的文档。