tags:

views:

19

answers:

1

Hi guys, can anyone of you tell me how to use ajax with IE8? (ActiveXObject) is not working here.

+1  A: 

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();
naikus
I have also used this object but it is also not working!
Harsh