Hello I have just bought this book and am anxious to use the zxml.
js library.
I had some old ajax code that was working fine in IE (I don't know about other browsers). I replaced the code with new code using the zxml.
js library.
I am now getting the 12030 status code returned from IE. It must have something to do with the zxml.
js library that is causing this.
Could the authors please look into this?
My old code that was working fine accessed the XML object like this (it probably didn't get the latest version of it):
Code:
function getXmlHttpRequestObject() {
if (window.XMLHttpRequest) {
return new XMLHttpRequest();
} else if(window.ActiveXObject) {
return new ActiveXObject("Microsoft.XMLHTTP");
} else {
alert('Status: Cound not create XmlHttpRequest Object. Consider upgrading your browser.');
}
}
This may have something to do with the error. I'm not sure. Maybe it is an error in a newer xml request object from Microsoft? Or maybe it is an error in zxml.
js.
Can someone please help? I really want to use the library, but I can't with this problem.
Oh one other thing...I only get this error when I do a "Post" request and I pass parameters. If I do a "get" request or a "post" request with no parameters then I don't get the error. The parameters I pass in are:
oXmlHttp.send('t=1');
so I know they are in the right format.