Ajax not working on IE 6 for Windows CE


Posted on 16th Feb 2014 07:03 pm by admin

I've created a webpage which uses the classis Ajax in following format:view plaincopy to clipboardprint?function mytest() {
try {
xmlHTTP = new XMLHttpRequest();
}
Did you know?Explore Trending and Topic pages for more stories like this.
catch (e) {
try {
xmlHTTP = new ActiveXObject("Msxml2.XMLHTTP");
}
catch (e) {
try {
xmlHTTP = new ActiveXObject("Microsoft.XMLHTTP");
}
catch (e) {
alert('Your browser does not support AJAX!'); return false;
}
}
}
} function mytest() {
try {
xmlHTTP = new XMLHttpRequest();
}
catch (e) {
try {
xmlHTTP = new ActiveXObject("Msxml2.XMLHTTP");
}
catch (e) {
try {
xmlHTTP = new ActiveXObject("Microsoft.XMLHTTP");
}
catch (e) {
alert('Your browser does not support AJAX!'); return false;
}
}
}
}
This works absolutly fine on evey browser for Windows XP, Windows Vista.But When I run this code on IE 6 for Windows CE (version 6.0), it alerts me that 'Your browser does not support AJAX'.Can anybody tell me what can be problem. Because I don't that IE 6 on Windows CE will not support ajax, or is this the case?
Thanks in advance for your reply.
No comments posted yet

Your Answer:

Login to answer
84 Like 39 Dislike
Previous forums Next forums
Other forums

Array disappearing in foreach loop
Okay, I have this problem where an array will become undefined in a foreach loop.

Here is the

Upload file and add HTML
Hey everyone,

I have a client has meeting agendas and minutes that should be posted online. I

Pspell with my own dictionary
Hello!
I've tested two cases using pspell functions.
1)
Code: $dictionary_link = pspell_new

Blank record injected into database
I always found several blank records inside my database, although $SESSION is required to insert the

Error with login script
I am getting an error with my login script:

Error:
Code: Warning: Cannot modify header inf

Hyperlink is adding an extra gap to variable
Hi, here's my problem..

I have a php generated page with a hyperlink which opens in a new win

Mail Script Problems
I have created a PHP mail script. I am having a problem though. In $body i am trying to put two va

Help with Password Encoding/Decoding?
Trying to design a "change password" tool. On my signup code I'm using base64_encode, now

search query in mysql in php problem
my search query wont work, i know, that my codes are correct.please help

Code: [Select]&l

selection tool on raster image
Hi!
I have to implement in my app a selection tool which lets users to select region of any shape

Sign up to write
Sign up now if you have flare of writing..
Login   |   Register
Follow Us
Indyaspeak @ Facebook Indyaspeak @ Twitter Indyaspeak @ Pinterest RSS



Play Free Quiz and Win Cash