latemodern
10-22-2007, 04:32 PM
Hi,
This is driving me nuts. I am getting an error in ie7 which simply says 'unknown runtime error'. I have boiled it down to the line 'para.innerHTML = xmlHttp.responseText;' in the following code:
function stateChangedAppend(){
if (xmlHttp.readyState==4 || xmlHttp.readyState=="complete"){
para = document.createElement("p");
para.className = "success";
para.innerHTML = xmlHttp.responseText;
document.getElementById(elementId).appendChild(para);
ajaxifyCourses();
}else if(xmlHttp.readyState < 4){
//alert(xmlHttp.status);
//document.getElementById(elementId).innerHTML= '<p class="success">Loading. Please wait</p>';
} else {
}
}
Can anybody suggest what might be making ie7 spit its dummy?
I wish that hell existed so that bill gates could go to it.
Thanks
This is driving me nuts. I am getting an error in ie7 which simply says 'unknown runtime error'. I have boiled it down to the line 'para.innerHTML = xmlHttp.responseText;' in the following code:
function stateChangedAppend(){
if (xmlHttp.readyState==4 || xmlHttp.readyState=="complete"){
para = document.createElement("p");
para.className = "success";
para.innerHTML = xmlHttp.responseText;
document.getElementById(elementId).appendChild(para);
ajaxifyCourses();
}else if(xmlHttp.readyState < 4){
//alert(xmlHttp.status);
//document.getElementById(elementId).innerHTML= '<p class="success">Loading. Please wait</p>';
} else {
}
}
Can anybody suggest what might be making ie7 spit its dummy?
I wish that hell existed so that bill gates could go to it.
Thanks