[ic] Interchange, ajax and IE

marco m.mescoli at omnib.it
Tue Aug 9 11:54:45 UTC 2011


More tests with browsers, OSs and different js lines code but the result 
is the same:
IE 8 and 9 get error on retreive result from remote server 
(xmlhttp.responseText) but runs without problems w3schools.com ajax example.

Any idea ?
P.S js alert in the example code on IE 8,9 say:'IE6, IE5'

--- snip ---
function loadXMLDoc(){
   var xmlhttp;
   if (window.XMLHttpRequest) alert('IE7+, Firefox, Chrome, Opera, Safari');
   else alert('IE6, IE5');
   if (window.XMLHttpRequest) xmlhttp=new XMLHttpRequest();
   else xmlhttp=new ActiveXObject("Microsoft.XMLHTTP"); 
xmlhttp.onreadystatechange=function() {
     if (xmlhttp.readyState==4 && xmlhttp.status==200)
 
document.getElementById('clients_list').innerHTML=xmlhttp.responseText;
   }
   var url = '[area boll/clients_lnk ]'
   + "&id=[data session id]"
   + "&cod_boll=[cgi cod_boll]"
   + "&key=" +  document.getElementById('key').value
   xmlhttp.open( "GET", url, true );
   xmlhttp.send();
}
--- snip ---

IE9 on w7 SCRIPT58734: Errore di sistema: -1072896658.
FF on w7 ok
IE8 on xp: Impossibile completare l'operazione a causa di un errore 
c00ce56e.
FF on xp: ok
FF on linux: ok
Opera on linux: oK
Chrome on linux: oK
Safari on OSX: ok
FF on OSX: Error: uncaught exception: [Exception... "Not enough 
arguments [nsIXMLHttpRequest.send]"  nsresult: "0x80570001 
(NS_ERROR_XPC_NOT_ENOUGH_ARGS)"  location: "JS frame :: 
http://omnibit.mine.nu/cgi-bin/elcat/boll/testa_mod_ajax.html?mv_arg=&cod_boll=599057 
:: loadXMLDoc :: line 46"  data: no]

thanks to the list
-- 
Marco "Fino alla bara sinpara"
Marco "Up to demise we rise"



More information about the interchange-users mailing list