XMLHttpRequest函数不起作用

问题描述:

我已经创建了一个XMLHttpRequest函数,但它没有用,这是我的代码

Hi, i have created a XMLHttpRequest function, but it didn''t work, this is my code

展开 | 选择 | Wrap | 行号

据我所知,您首先打开连接,然后附加处理程序,然后发送异步请求。在同步请求的情况下,你将在.send()之后执行处理程序。
as far as I know, you first open the connection, then attach the handler and then send the asyncronous request. in case of a syncronous request, you would execute the handler after .send().


它没有工作,它没有运行CatchResult()!

It didn''t work, it didn''t run CatchResult() !

展开 | 选择 | Wrap | 行号


你确定,?a = r指向正确的位置?
are you sure, "?a=r" points to the right location?