ok guys this should be so simple, in fact it is so simple that its working...in firefox but not in IE?!?!
Iv got to the point where its driving me nuts and what i have found is that for some reason when i put a variable in the document.getElementById() section, IE doesnt like it.
http://www.mewan.net/mark/hwutl/index.php?id=8
if you right click and view source then you will see how i put var string in section and how i build it.
is there anything anyone can suggest? please im going nuts!Code:var string = 'ajaxDiv' + div_id; document.getElementById(string).style.display = "block"; xmlHttp.onreadystatechange=function() { if(xmlHttp.readyState==4) { var ajaxDisplay = document.getElementById(string); ajaxDisplay.innerHTML = xmlHttp.responseText; } else { var ajaxDisplay = document.getElementById(string); ajaxDisplay.innerHTML = "<p>Loading....</p>"; }




Reply With Quote
Bookmarks