Changes between Initial Version and Version 2 of Ticket #2849
- Timestamp:
- Mar 18, 2009, 1:27:11 PM (14 years ago)
Legend:
- Unmodified
- Added
- Removed
- Modified
-
Ticket #2849
-
Property
Need
changed from
Patch
toTest Case
-
Property
Component
changed from
core
toajax
-
Property
Need
changed from
-
Ticket #2849 – Description
initial v2 2 2 3 3 when i do this: 4 4 {{{ 5 5 $.get("/IndexAction.do",function(txt){ 6 alert(txt);6 alert(txt); 7 7 } 8 8 }}} 9 9 ie thorw then Automation error 10 10 11 11 when i search in jquery-1.2.3,i found this 12 12 {{{ 13 13 var xml = window.ActiveXObject ? new ActiveXObject("Microsoft.XMLHTTP") : new XMLHttpRequest(); 14 14 }}} 15 15 then i modify it: 16 16 {{{ 17 17 try { 18 var xml = window.ActiveXObject ? new ActiveXObject("Microsoft.XMLHTTP") : new XMLHttpRequest();18 var xml = window.ActiveXObject ? new ActiveXObject("Microsoft.XMLHTTP") : new XMLHttpRequest(); 19 19 } 20 20 catch(e) { 21 21 try 22 22 { 23 xml=new ActiveXObject("MSXML2.XMLHTTP");23 xml=new ActiveXObject("MSXML2.XMLHTTP"); 24 24 } 25 25 catch(e2) … … 27 27 try 28 28 { 29 xml=new ActiveXObject("MSXML3.XMLHTTP");29 xml=new ActiveXObject("MSXML3.XMLHTTP"); 30 30 } 31 31 catch(e3) 32 32 { 33 alert("It's all error");33 alert("It's all error"); 34 34 } 35 35 } 36 36 } 37 }}}