[thelist] JavaScript (Ajax) question - IE
Tom Dell'Aringa
pixelmech at yahoo.com
Wed Nov 9 20:14:41 CST 2005
Hi all,
I'm working on a little script for an Ajax article I'm writing. If you look here in
FireFox/Mozzy..
http://www.pixelmech.com/ajax/ajaxController.html
Click on 'colorado' and ajax loads a photo. Whippee. (you'll see the request object alert) Problem
is, in IE I get the old JS error "object does not support this property or method". The
problematic area seems to be my request setup for the XmlHttp object:
var request = (window.ActiveXObject) ? new ActiveXObject("Microsoft.XMLHTTP") : new
XMLHttpRequest();
request is null for IE, no matter what I try - even in try/catch blocks it fails. I thought it
might want the other IE object (MSXML2.ServerXMLHTTP) but that did not work either. I reset my
browser to defaults in privacy and security...I can't think of what else to try. Any suggestions?
Seems to me this should work no problem...
TIA
Tom
http://www.pixelmech.com/
"I was in a convenience store reading a magazine and the clerk came up to me and said "This is not a library". so I said, "All right, I will talk louder then!"
More information about the thelist
mailing list