you are missing a call to create the later MS XMLHTTP Object creation
=new ActiveXObject("Msxml2.XMLHTTP");
You are better off using the try ... catch exception handling for the object creation it's a little more reliable across browsers
Code:
try {
m_oXML=new XMLHttpRequest();
} catch (e) {
try {
m_oXML=new ActiveXObject("Msxml2.XMLHTTP");
} catch (e) {
try {
m_oXML=new ActiveXObject("Microsoft.XMLHTTP");
} catch (e) {
alert("Use the alternative HTML interface please");
return false;
}
}
}
m_oXML.onreadystatechange=function() {
__________________
Chris. ->> Links are advertising NOT optimising!! <<-
A foolish consistency is the hobgoblin of little minds
Thought for today:- I SEO the only industry where all the cowboys are Indians?
|