开发者

How to use AJAX with IE8

can anyone of you tell me how to开发者_开发知识库 use ajax with IE8? (ActiveXObject) is not working here.


IE8 supports the XMLHttpRequest object. You can use that to do ajax. The page also has an example:

var client = new XMLHttpRequest();
client.onreadystatechange = handler;
client.open("GET", "unicorn.xml");
client.send();
0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜