Reputation: 6465
can anyone of you tell me how to use ajax with IE8? (ActiveXObject) is not working here.
Upvotes: 0
Views: 194
Reputation: 24472
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();
Upvotes: 1