Bug Tracker

Changes between Initial Version and Version 2 of Ticket #2849


Ignore:
Timestamp:
Mar 18, 2009, 1:27:11 PM (13 years ago)
Author:
brandon
Comment:

Legend:

Unmodified
Added
Removed
Modified
  • Ticket #2849

    • Property Need changed from Patch to Test Case
    • Property Component changed from core to ajax
  • Ticket #2849 – Description

    initial v2  
    22
    33when i do this:
    4 
     4{{{
    55$.get("/IndexAction.do",function(txt){
    6 alert(txt);
     6    alert(txt);
    77}
    8 
     8}}}
    99ie thorw then Automation error
    1010
    1111when i search in jquery-1.2.3,i found this
    12 
     12{{{
    1313var xml = window.ActiveXObject ? new ActiveXObject("Microsoft.XMLHTTP") : new XMLHttpRequest();
    14 
     14}}}
    1515then i modify it:
    16 
     16{{{
    1717try {
    18 var xml = window.ActiveXObject ? new ActiveXObject("Microsoft.XMLHTTP") : new XMLHttpRequest();
     18    var xml = window.ActiveXObject ? new ActiveXObject("Microsoft.XMLHTTP") : new XMLHttpRequest();
    1919}
    2020catch(e) {
    2121try
    2222{
    23 xml=new ActiveXObject("MSXML2.XMLHTTP");
     23    xml=new ActiveXObject("MSXML2.XMLHTTP");
    2424}
    2525catch(e2)
     
    2727try
    2828{
    29 xml=new ActiveXObject("MSXML3.XMLHTTP");
     29    xml=new ActiveXObject("MSXML3.XMLHTTP");
    3030}
    3131catch(e3)
    3232{
    33 alert("It's all error");
     33    alert("It's all error");
    3434}
    3535}       
    3636}
     37}}}