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();
精彩评论