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();
}
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

webpage with (simple) login & mysql-db
Hi all,

What I was looking for before was a multi-user password manager, web-based! The offer

Need help/w Page: 1,2,3,4 function!
So I have this code im working on where it's ment to display seperate pages having 20 logs each
I

Performance impact of cookies
Hi, I was just wondering what impact there would be in terms of performance if you where to set then

Querying info from one table based on info in another
Hi, I am currently trying to make a part for my user driven website where one user can subscribe to

how do i display data on a page from mysql
1 - do i use this code at the top of each of my page i wish to only alow access if there as been a s

reading xml faster than DB call?
I am trying to optimize a high traffic website, and I enabled a feature where there are three photos

max function question
Hi All
Ihave a table that holds shipment numbers and dates like this

select * from

When i am Canseling the Billing Document in VF11 I am getting Shortdump
Hi Experts

When i am Canseling the Billing Document in VF11 I am getting Shortdump.

Change of partner analyse in sales orders
Hello,

I changed the partner analyse for sales orders and added a new mandatory partnerro

Buggy registration system
Hey, I just started scripting in PHP, and I ran into a few problems.
Code: <?php
includ

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