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

Need help making login verification cleaner...
I use the below to verify user login. I first check the cookie for the id, ip and a unique id. If it

Optimize Code
Just started getting into the use of cookies. The following code will redirect users to a set URL s

Notice Undefined index: reset/ Attempting to redirect, works, but get a notice
Full Header.php is:
Code: [Select]<?php
$reset= false;
$reset= strip_tags($_GET[&quo

redirect standard error and assert (how to?)
How do you redirect standard error and assert?

---

(Why? I am creating an web app and

Passing vars to the DB
I have 3 small testing tables:

ID TYPE
1 pepperoni
2 C. bacon
3 taco

ID TY

mail() says sent but no email received
My code is quite simple:

Code: <?php
$to = "Ty44ler@yahoo.com";
$subje

Undefined variable: adHTML
Hello:

While checking my site error logs, I've noticed one repetitive error that fills the lo

Need Reporting Advice
My SQL server doesn't support MS SQL reporting services that comes with SQL Enterprise or Express. T

how to validate date using javascript
I need to validate date in textbox using javascript..
The date is must be not greater than TODAY

Clean URLs
Hi I was wandering if anyone has ever implemented URLs on their PHP run website using URLS like wiki

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