妄徒之命 2010-09-30 05:30 采纳率: 100%
浏览 130

如何在IE8中使用AJAX

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

  • 写回答

1条回答 默认 最新

  • weixin_33686714 2010-09-30 05:37
    关注

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

报告相同问题?