By using this site, you agree to our updated Privacy Policy and our Terms of Use. Manage your Cookies Settings.
437,636 Members | 1,190 Online
Bytes IT Community
+ Ask a Question
Need help? Post your question and get tips & solutions from a community of 437,636 IT Pros & Developers. It's quick & easy.

one user - IE 6.0 cannot create XMLHTTP object ...

P: 1
I have one user who is running Internet Explorer version:
Version 6.0.2800.1106.
SP1;Q823353

I have the following code that tries to create the xmlhttp object. For some reason, it will not create for her. I thought most browsers were covered by this code.
try {
xmlhttp = new ActiveXObject("Msxml2.XMLHTTP");
} catch (e) {
try {
xmlhttp = new ActiveXObject("Microsoft.XMLHTTP");
} catch (e2) {
xmlhttp = false;
}
}
if (!xmlhttp && typeof XMLHttpRequest != 'undefined') {
xmlhttp = new XMLHttpRequest();
}

Please advise.
Thanks.
Melissa Mussitsch
Aug 31 '06 #1
Share this Question
Share on Google+
1 Reply


iam_clint
Expert 100+
P: 1,208
You have no other if statements?
Sep 1 '06 #2

Post your reply

Sign in to post your reply or Sign up for a free account.