XMLHttpRequest函数不起作用 [英] XMLHttpRequest function not work

查看:77
本文介绍了XMLHttpRequest函数不起作用的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

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

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

< span class =codeLinkonclick =Blur(this,this.parentNode.parentNode,getChildren(this),true);>展开 | 选择 | 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?


这篇关于XMLHttpRequest函数不起作用的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆