• This handler function was then assigned to the onreadystatechange property.

    然后这个事件处理函数分配onreadystatechange属性。

    youdao

  • Notice that we registered a handler (by setting the req. onreadystatechange property).

    注意我们注册了一个处理程序(通过设置req .onreadystatechange属性)。

    youdao

  • The server looks at the onreadystatechange property and figures out what method to call.

    服务器查看onreadystatechange属性确定要调用方法

    youdao

  • The secret revolves around a simple property of XMLHttpRequest called onreadystatechange.

    秘密就在于XMLHttpRequest一个简单属性onreadystatechange

    youdao

  • Internet Explorer 7 calls back to onreadystatechange a lot — and I mean a lot, even on small requests.

    InternetExplorer7onreadystatechange进行多次调——意思是说即使小的请求也多次进行回调。

    youdao

  • The snippet in Listing 3 shows an example of a typical incarnation of the onreadystatechange callback function.

    清单3中的代码片段显示了onreadystatechange回调函数典型实例化示例。

    youdao

  • As I show in Listing 3, all the XMLHTTPRequest object provides is a callback mechanism called onreadystatechange.

    正如清单3展示一样,XMLHTTPRequest对象所提供全部内容一个名为onreadystatechange回调机制

    youdao

  • You parse the document in the onreadystatechange function of the XMLHttpRequest object used to make the Ajax call.

    解析用于进行Ajax调用XMLHttpRequest对象onreadystatechange函数中的文档

    youdao

  • This new code just looks to see whether the request object has changed in response to this onreadystatechange callback.

    这个代码只是查看请求对象是否发生改变,响应onreadystatechange回调。

    youdao

  • If a callback function is provided, this function sets the onreadystatechange property of the XHR object to that callback function.

    如果提供了,那么这个函数XHR对象onreadystatechange属性设置这个回调函数。

    youdao

  • The only other important thing to note is the callback function, or, the closure created for the request's onreadystatechange function.

    除此之外,惟一需要注意函数或者请求onreadystatechange函数创建闭包

    youdao

  • Earlier, I said that the server, once finished with a request, looks up what method to call in the onreadystatechange property of XMLHttpRequest.

    前面提到服务器完成请求之后会XMLHttpRequestonreadystatechange属性中查找要调用方法

    youdao

  • Each time the readystate changes, the readystatechange event fires and the handler function attached via the onreadystatechange property is called.

    每次readystate变化时,readystatechange事件就触发,由onreadystatechange属性指定的事件处理函数就被调用。

    youdao

  • In such cases, you need to override the onreadystatechange function of the XMLHttpRequest instance so that you can set a callback function for the asynchronous request.

    这种情况下需要覆盖XMLHttpRequest实例onreadystatechange函数以便可以这个异步请求设置一个callback函数。

    youdao

  • Make sure that when you set up your request, you set the callback function to updatePage ; to do this, set the onreadystatechange property of your request object to updatePage .

    确保建立请求时,将回调函数设置updatepage实现这种设置,可以将请求对象onreadystatechange属性设置为updatepage 。

    youdao

  • You've already seen how to let the server know what to do when it's finished: Set the onreadystatechange property of the XMLHttpRequest object to the name of the function to run.

    现在我们已经看到如何告诉服务器完成后应该什么XMLHttpRequest对象onreadystatechange属性设置为要运行的函数

    youdao

  • It gives a degree of control to the server, as well; when the server finishes a request, it looks in the XMLHttpRequest object and specifically at the onreadystatechange property.

    它也服务器一定程度控制权服务器完成请求之后查看XMLHttpRequest对象特别是onreadystatechange属性。

    youdao

  • Calling abort on a successfully completed request won't do anything and onreadystatechange is set to an empty function just in case the browser gets a delayed response for an old request.

    成功完成了请求调用abort不起任何作用并且浏览器收到个对请求的延时响应情况下onreadystatechange设置一个函数

    youdao

  • Calling abort on a successfully completed request won't do anything and onreadystatechange is set to an empty function just in case the browser gets a delayed response for an old request.

    成功完成了请求调用abort不起任何作用并且浏览器收到个对请求的延时响应情况下onreadystatechange设置一个函数

    youdao

$firstVoiceSent
- 来自原声例句
小调查
请问您想要如何调整此模块?

感谢您的反馈,我们会尽快进行适当修改!
进来说说原因吧 确定
小调查
请问您想要如何调整此模块?

感谢您的反馈,我们会尽快进行适当修改!
进来说说原因吧 确定