Instantiate the XMLHttpRequest (XHR) object variable.
实例化XMLHttpRequest (xhr)对象变量。
The wrapper function sends an XMLHttpRequest to the server.
包装器函数将一个XMLHttpRequest发送到服务器。
Listing 5 shows the code that creates the XMLHttpRequest object.
清单5显示了创建XMLHttpRequest对象所需的代码。
The script is invoked by an XMLHttpRequest call on the browser.
该脚本通过浏览器上的XMLHttpRequest调用激活。
Rhino doesn?t support the XMLHTTPRequest object, but don't worry.
Rhino 并不支持XMLHTTPRequest对象,但是这个问题您不必担心。
Finally, you stop the XMLHttpRequest object by assigning it to null.
最后,通过把XMLHttpRequest对象赋值为null,停止这个对象。
Deleting XMLHttpRequest objects to avoid a memory leak in the Web browser.
删除XMLHttpRequest对象以避免Web浏览器发生内存泄漏。
Listing 4 shows how to initialize the XMLHttpRequest for cross-browser support.
清单4展示了如何初始化xmlhttprequest来实现跨浏览器支持。
Later, I'll discuss techniques to handle browsers that don't support XMLHttpRequest.
稍后我将讨论处理那些不支持XMLHttpRequest的浏览器的技术。
This function USES Ajax (an XMLHttpRequest object to call the servlet in Listing 5).
此函数使用了Ajax(一个XMLHttpRequest对象调用清单5内的servlet)。
That's exactly what's happened with XMLHttpRequest, the basic object used in Ajax apps.
XMLHttpRequest恰恰是这种情形,它是Ajax应用程序中使用的基本对象。
The XMLHttpRequest object is what's usually used, but it's definitely not the only way.
通常使用XMLHttpRequest对象,但这并不是唯一的方法。
This function USES the XMLHTTPRequest object to ask the server for the new content.
该函数使用XMLHTTPRequest对象向服务器请求新内容。
The secret revolves around a simple property of XMLHttpRequest called onreadystatechange.
秘密就在于XMLHttpRequest的一个简单属性onreadystatechange。
Unfortunately, the method to create an XMLHttpRequest differs from browser to browser.
不幸的是,不同的浏览器创建XMLHttpRequest的方法各不相同。
Unfortunately, there is great variance in the implementation of XMLHttpRequest across browsers.
不幸的是,XMLHttpRequest在不同的浏览器中有很多不同的实现。
Next, a connection is opened; here's the first place you see XMLHttpRequest in action again.
然后打开一个连接,这是您第一次看到使用XMLHttpRequest。
An alternative is to upload the page yourself using XmlHTTPRequest and connect to a REST service.
另一种办法是使用XmlHTTPRequest并连接到REST服务而自己上传网页。
You'll use false as a condition that means the XMLHttpRequest object hasn't been created yet.
后面将使用false作为判定条件,它表示还没有创建XMLHttpRequest对象。
The script then USES the XMLHttpRequest object to perform an HTTP operation against a server.
然后,该脚本使用XMLHttpRequest对象对服务器执行HTTP操作。
Unfortunately, XMLHttpRequest isn't an approved standard, and vendor support varies slightly.
遗憾的是,XMLHttpRequest并非广泛认可的标准,厂商支持的标准往往稍有不同。
Datajs USES XMLHttpRequest to make network calls by default, but a different HTTP client can be used.
datajs默认会使用XMLHttpRequest来进行网络调用,但还可以使用不同的HTTP客户端。
Write browser independent code for creating XMLHttpRequest (XHR) and processing XML document objects.
编写用于创建XMLHttpRequest (XHR)和处理XML文档对象的浏览器无关的代码。
A formalization of the de-facto standard XMLHttpRequest object, the centerpiece of Ajax communication.
事实标准XMLHttpRequest对象的正式化,它是Ajax通信的核心。
The XHR file explains the logic about initializing the XMLHttpRequest object in a browser-agnostic way.
XHR文件解释XMLHttpRequest对象的初始化逻辑。
First, you need to create a new variable and assign it to an instance of the XMLHttpRequest object.
首先需要创建一个新变量并赋给它一个XMLHttpRequest对象实例。
The suggest function uses an XMLHttpRequest object to make a request to the /xfsuggest/suggest URL.
suggest函数使用XMLHttpRequest对象请求 /xfsuggest/suggestURL。
When you made the call to the server using the XMLHttpRequest object, you registered a response handler.
使用XMLHttpRequest对象请求服务器的时候注册了一个响应处理程序。
Because of the same-origin policy, you cannot use XMLHttpRequest when communicating with external servers.
因为同源策略的限制,我们不能在与外部服务器进行通信的时候使用XMLHttpRequest。
You wouldn't use XMLHttpRequest this time because you want the page to be refreshed after the POST request.
这一次不能使用XMLHttpRequest,因为您需要在发出POST请求后刷新页面。
应用推荐