ciao a tutti, per favore aiutatemi perchè non ho idea di come risolvere questo inconveniente.
in pratica ho creato uno script per la richiesta tramite ajax di apertura di una pagina php (che fa una query sul mio db), il problema è che su firefox funge alla grande ma solo di ie mi da errore di run-time sconosciuto
ecco il codice
codice:
function createRequestObject(){

var req;

if(window.XMLHttpRequest){
//For Firefox, Safari, Opera
req = new XMLHttpRequest();
}
else if(window.ActiveXObject){
//For IE 5+
req = new ActiveXObject("Microsoft.XMLHTTP");
}
else{
//Error for an old browser
alert('Your browser is not IE 5 or higher, or Firefox or Safari or Opera');
}

return req;
}

//Make the XMLHttpRequest Object
var http = createRequestObject();

function sendRequest(nomediv) {
http.open('GET','elenco_fornitori.php',true);
http.onreadystatechange = function() {handleResponse(nomediv);};
http.send(null);
}

function handleResponse(nomediv){
if (http.readyState == 4) {
if (http.status == 200) {
    document.getElementById(nomediv).style.display='block';
    document.getElementById(nomediv).innerHTML=http.responseText;
}
else {
    document.getElementById(nomediv).style.display='block';
    document.getElementById(nomediv).innerHTML="ERRORE "+http.status;
}
}
}
la richiesta la faccio cosi
<a href="#" onclick="sendRequest('prova.php','mio_div');">