开发者

How to use AJAX with IE8

开发者 https://www.devze.com 2023-01-18 17:01 出处:网络
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 exam

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

精彩评论

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