
m.mescoli at omnib
Aug 9, 2011, 4:54 AM
Post #1 of 3
(384 views)
Permalink
|
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" _______________________________________________ interchange-users mailing list interchange-users [at] icdevgroup http://www.icdevgroup.org/mailman/listinfo/interchange-users
|